src/cx/common.h

changeset 1053
2e86cf779135
parent 1034
424b5b74a68f
equal deleted inserted replaced
1052:e997862a57d8 1053:2e86cf779135
363 363
364 #ifdef _MSC_VER 364 #ifdef _MSC_VER
365 // fix missing ssize_t definition 365 // fix missing ssize_t definition
366 #include <BaseTsd.h> 366 #include <BaseTsd.h>
367 typedef SSIZE_T ssize_t; 367 typedef SSIZE_T ssize_t;
368 #ifndef SSIZE_MAX
369 #ifdef _WIN64
370 #define SSIZE_MAX 0x7fffffffffffffffi64
371 #else
372 #define SSIZE_MAX 0x7fffffffi32
373 #endif
374 #endif
368 375
369 // fix missing _Thread_local support 376 // fix missing _Thread_local support
370 #define _Thread_local __declspec(thread) 377 #define _Thread_local __declspec(thread)
371 #endif // _MSC_VER 378 #endif // _MSC_VER
372 379

mercurial