macro.h 585 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef VIRTUALMATH_MACRO_H
  2. #define VIRTUALMATH_MACRO_H
  3. #include <stdio.h>
  4. #include <inttypes.h>
  5. #include <stdint.h>
  6. #include <errno.h>
  7. #include <math.h>
  8. #include <string.h>
  9. #include <stdlib.h>
  10. #include <stdarg.h>
  11. #include <sys/stat.h>
  12. #include <ctype.h>
  13. #include <setjmp.h>
  14. #include <signal.h>
  15. #include <wchar.h>
  16. #include <wctype.h>
  17. #include <locale.h>
  18. #include <getopt.h>
  19. #include <unistd.h>
  20. #include <dlfcn.h>
  21. #include "ffi.h"
  22. // 布尔逻辑的定义
  23. #define bool int
  24. #define true 1
  25. #define false 0
  26. #define NUL ((char)0)
  27. #define WNUL ((wchar_t)0)
  28. #endif //VIRTUALMATH_MACRO_H