long long was overkill.

This commit is contained in:
unitrunker 2018-01-22 18:29:15 -06:00
parent bf0228487b
commit aada05d28d

View File

@ -89,16 +89,16 @@
#define NANA_MACOS #define NANA_MACOS
#define NANA_POSIX #define NANA_POSIX
#define NANA_X11 #define NANA_X11
typedef long long thread_t; typedef unsigned long thread_t;
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__)
#define NANA_POSIX #define NANA_POSIX
#define NANA_X11 #define NANA_X11
typedef long long thread_t; typedef unsigned long thread_t;
#elif (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(_CRAYC) //Linux #elif (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(_CRAYC) //Linux
#define NANA_LINUX #define NANA_LINUX
#define NANA_POSIX #define NANA_POSIX
#define NANA_X11 #define NANA_X11
typedef long long thread_t; typedef unsigned long thread_t;
#else #else
static_assert(false, "Only Windows and Linux are supported now (Mac OS and BSD are experimental)"); static_assert(false, "Only Windows and Linux are supported now (Mac OS and BSD are experimental)");
#endif #endif