123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef VIRTUALMATH_MACRO_H
- #define VIRTUALMATH_MACRO_H
- #include <stdio.h>
- #include <inttypes.h>
- #include <stdint.h>
- #include <time.h>
- #include <assert.h>
- #include <errno.h>
- #include <math.h>
- #include <string.h>
- #include <stdlib.h>
- #include <stdarg.h>
- #include <sys/stat.h>
- #include <ctype.h>
- #include <setjmp.h>
- #include <signal.h>
- #include <wchar.h>
- #include <wctype.h>
- #include <locale.h>
- #include <getopt.h>
- #include <unistd.h>
- #include "direct.h"
- #include <dlfcn.h>
- #include <ffi.h>
- // 布尔逻辑的定义
- #define bool int
- #define true 1
- #define false 0
- #define NUL ((char)0)
- #define WNUL ((wchar_t)0)
- #ifdef NDEBUG
- #define err_asert(e) ((void)0)
- #else
- #define err_asert(e) fprintf(stderr, "%s %s %d\n", #e, __FILE__, __LINE__)
- #endif
- #endif //VIRTUALMATH_MACRO_H
|