From aada05d28ddb47bce9ab89a5b4e20d2e63362a07 Mon Sep 17 00:00:00 2001 From: unitrunker Date: Mon, 22 Jan 2018 18:29:15 -0600 Subject: [PATCH] long long was overkill. --- include/nana/c++defines.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/nana/c++defines.hpp b/include/nana/c++defines.hpp index f4aa89f6..24f2f844 100644 --- a/include/nana/c++defines.hpp +++ b/include/nana/c++defines.hpp @@ -89,16 +89,16 @@ #define NANA_MACOS #define NANA_POSIX #define NANA_X11 - typedef long long thread_t; + typedef unsigned long thread_t; #elif defined(__FreeBSD__) #define NANA_POSIX #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 #define NANA_LINUX #define NANA_POSIX #define NANA_X11 - typedef long long thread_t; + typedef unsigned long thread_t; #else static_assert(false, "Only Windows and Linux are supported now (Mac OS and BSD are experimental)"); #endif