logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

config.h (4098B)


  1. // SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
  2. // SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
  3. // SPDX-License-Identifier: GPL-3.0-or-later
  4. #define MEM_ALIGNBYTES 8
  5. #define BIN "/usr/bin"
  6. #define BYTEORDER 0x4321
  7. #define CPPSTDIN "gcc -E"
  8. #define CPPMINUS "-"
  9. #define HAS_ALARM
  10. #define HAS_DIRENT
  11. #define HAS_FORK
  12. #define HAS_FCNTL
  13. #define HAS_MEMCHR
  14. #define HAS_MEMSET
  15. #define HAS_MKDIR
  16. #define HAS_PAUSE
  17. #define HAS_READDIR
  18. #define HAS_RMDIR
  19. #define HAS_SETLOCALE
  20. #define HAS_STRERROR
  21. #define HAS_STRTOUL
  22. #define HAS_STRTOULL
  23. #define HAS_STRXFRM
  24. #define HAS_SYS_ERRLIST
  25. #define Strerror(e) strerror(e)
  26. #define HAS_SYSCALL
  27. #define HAS_SYSCALL_PROTO
  28. #define HAS_TIMES
  29. #define HAS_FLOCK
  30. #define HAS_TRUNCATE
  31. #define HAS_VPRINTF
  32. #define Gid_t gid_t
  33. #define I_DIRENT
  34. #define Direntry_t struct dirent
  35. #define I_DLFCN
  36. #define I_FCNTL
  37. #define I_GRP
  38. #define I_LIMITS
  39. #define I_LOCALE
  40. #define I_MATH
  41. #define I_NETINET_IN
  42. #define I_PWD
  43. #define I_STDDEF
  44. #define I_STDLIB
  45. #define I_STRING
  46. #define I_SYS_DIR
  47. #define I_SYS_IOCTL
  48. #define I_SYS_PARAM
  49. #define I_SYS_SELECT
  50. #define I_SYS_STAT
  51. #define I_SYS_TIMES
  52. #define I_TERMIOS
  53. #define I_TIME
  54. #define I_UNISTD
  55. #define I_UTIME
  56. #define I_STDARG
  57. #define INTSIZE 4
  58. #define Off_t off_t
  59. #define PRIVLIB "/usr/lib/perl5"
  60. #define _(args) args
  61. #define SCRIPTDIR "/usr/bin"
  62. #define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "NUM34", "RTMIN", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "POLL", "UNUSED", 0 /**/
  63. #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 29, 31, 0 /**/
  64. #define SIG_SIZE 68 /**/
  65. #define Size_t size_t
  66. #define STDCHAR char
  67. #define Uid_t uid_t
  68. #define LOC_SED "/usr/bin/sed"
  69. #define ARCHLIB "/usr/lib/perl5/"
  70. #define CAT2(a,b) a##b
  71. #define STRINGIFY(a) "a"
  72. #define Gconvert(x,n,t,b) gcvt((x),(n),(b))
  73. #define Time_t time_t
  74. #define SSize_t ssize_t
  75. #define Sigjmp_buf sigjmp_buf
  76. #define Sigsetjmp(buf,save_mask) setjmp(buf)
  77. #define Siglongjmp(buf,retval) longjmp(buf,retval)
  78. #define Signal_t void
  79. #define OSNAME "linux"
  80. #undef __DATE__ /* want reproducible build */
  81. #define Malloc_t void *
  82. #define Free_t void
  83. #define SH_PATH "/bin/sh"
  84. #define ARCHNAME "i386-linux"
  85. #define BIN_EXP "/usr/bin"
  86. #define NVSIZE 8 /* sizeof(double) */
  87. #define UVSIZE 4 /* sizeof(long) on i386 */
  88. #define IVSIZE 4
  89. #define PTRSIZE 4
  90. #define IVTYPE long
  91. #define UVTYPE unsigned long
  92. #define NVTYPE double
  93. #define I8TYPE char
  94. #define U8TYPE unsigned char
  95. #define I16TYPE short
  96. #define U16TYPE unsigned short
  97. #define I32TYPE int
  98. #define U32TYPE unsigned int
  99. #define STDCHAR char
  100. #define IVdf "ld"
  101. #define UVuf "lu"
  102. #define UVof "lo"
  103. #define UVxf "lx"
  104. #define UVXf "lX"
  105. #define NVef "e"
  106. #define NVff "f"
  107. #define NVgf "g"
  108. #define Mode_t mode_t
  109. #define Off_t off_t
  110. #define Pid_t pid_t
  111. #define Rand_seed_t long
  112. #define Size_t_size 4
  113. #define Sock_size_t unsigned
  114. #define RANDBITS 48
  115. #define seedDrand01(x) srand48((long)x)
  116. #define Drand01() drand48()
  117. #define NVSIZE 8
  118. #define NV_PRESERVES_UV
  119. #define NV_PRESERVES_UV_BITS 32
  120. #define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0
  121. #define NV_ZERO_IS_ALLBITS_ZERO
  122. #define L_R_TZSET
  123. #define GMTIME_MAX 2147483647
  124. #define GMTIME_MIN -2147483648
  125. #define LOCALTIME_MAX 2147483647
  126. #define LOCALTIME_MIN -2147483648
  127. #define LOCALTIME_R_PROTO 0
  128. #define PERL_PATCHLEVEL_H_IMPLICIT
  129. #define MULTIPLICITY
  130. #define OSNAME "linux"
  131. #define OSVERS "3.18.0"