define CBQN_EXPORT by default, add macro test for exactly gcc

This commit is contained in:
dzaima 2022-12-03 23:19:24 +02:00
parent 63e5e843ba
commit e4f4864ed2

View File

@ -41,6 +41,9 @@
#endif
#ifndef FFI
#define FFI 2
#ifndef CBQN_EXPORT
#define CBQN_EXPORT 1
#endif
#endif
// #define HEAP_VERIFY // enable usage of heapVerify()
@ -141,6 +144,7 @@ typedef double f64;
#define NOUNROLL _Pragma("clang loop unroll(disable)")
#define NOVECTORIZE _Pragma("clang loop vectorize(disable)")
#elif __GNUC__
#define EXACTLY_GCC 1
#define NOUNROLL _Pragma("GCC unroll 1")
#define NOVECTORIZE
#else