44 #if defined(_WIN32) || defined(_WINDOWS) || defined(_MSC_VER)
48 #define _CRT_NONSTDC_NO_DEPRECATE 1
49 #define _CRT_SECURE_NO_DEPRECATE 1
68 #include <libkern/OSAtomic.h>
69 #include <sys/types.h>
81 #define fseeko _fseeki64
82 #define ftello _ftelli64
101 void lock() { WaitForSingleObject(
_mutex, INFINITE); }
154 #endif // PtexPlatform_h
pthread_spinlock_t _spinlock