numpy
2.0.0
|
00001 #ifndef _NPY_OS_H_ 00002 #define _NPY_OS_H_ 00003 00004 #if defined(linux) || defined(__linux) || defined(__linux__) 00005 #define NPY_OS_LINUX 00006 #elif defined(__FreeBSD__) || defined(__NetBSD__) || \ 00007 defined(__OpenBSD__) || defined(__DragonFly__) 00008 #define NPY_OS_BSD 00009 #ifdef __FreeBSD__ 00010 #define NPY_OS_FREEBSD 00011 #elif defined(__NetBSD__) 00012 #define NPY_OS_NETBSD 00013 #elif defined(__OpenBSD__) 00014 #define NPY_OS_OPENBSD 00015 #elif defined(__DragonFly__) 00016 #define NPY_OS_DRAGONFLY 00017 #endif 00018 #elif defined(sun) || defined(__sun) 00019 #define NPY_OS_SOLARIS 00020 #elif defined(__CYGWIN__) 00021 #define NPY_OS_CYGWIN 00022 #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) 00023 #define NPY_OS_WIN32 00024 #elif defined(__APPLE__) 00025 #define NPY_OS_DARWIN 00026 #else 00027 #define NPY_OS_UNKNOWN 00028 #endif 00029 00030 #endif