aruu

[MIRROR] Actual replacement for Busybox | suckless
git clone https://git.daat.foo/aruu.git
Log | Files | Refs | README | LICENSE

ospredef_posix.c (564B)


      1 /* see license file for copyright and license details */
      2 #include <stdbool.h>
      3 #include "util.h"
      4 #include "cc.h"
      5 
      6 /* a system with no file of its own is taken for some unix */
      7 #if !(                                                                                             \
      8     defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)      \
      9     || defined(__APPLE__)                                                                          \
     10 ) || defined(ARUU_FORCE_POSIX)
     11 const char ospredef[] = "#define __unix__ 1\n";
     12 #endif