github.com/256dpi/max-go@v0.7.0/lib/max/ext_infer_system.h (about) 1 #ifndef _EXT_INFER_SYSTEM_H_ 2 #define _EXT_INFER_SYSTEM_H_ 3 4 #if !(defined(MAC_VERSION)) && !(defined(WIN_VERSION)) && !(defined(LINUX_VERSION)) 5 6 // in case this isn't set let's set it up automatically 7 #ifdef __APPLE__ 8 #define MAC_VERSION 1 9 #elif defined(_WIN32) 10 #define WIN_VERSION 1 11 #elif defined(__linux__) 12 #define LINUX_VERSION 1 13 #else 14 #error Unexepected build platform! 15 #endif 16 17 #endif 18 19 #if defined(_WIN64) || defined(__LP64__) 20 #define C74_X64 21 #endif 22 23 #if defined (__arm__) || defined (__arm64__) 24 #define C74_ARM 1 25 #else 26 #define C74_INTEL 1 27 #endif 28 29 #endif /* _EXT_INFER_SYSTEM_H_ */