mirror of
https://github.com/halpz/re3.git
synced 2025-07-23 15:59:45 +00:00
Merge remote-tracking branch 'origin/miami' into lcs
* origin/miami: Fix FindClose->closedir Only include sys/syscall.h when __linux__ is defined Add unnamed semaphore define toggle for CdStreamPosix Fix rare stream deadlock on Windows
This commit is contained in:
@ -136,7 +136,12 @@ void GetLocalTime_CP(SYSTEMTIME* out);
|
||||
|
||||
typedef void* HANDLE;
|
||||
#define INVALID_HANDLE_VALUE NULL
|
||||
#define FindClose(h) closedir((DIR*)h)
|
||||
#define FindClose(h) \
|
||||
do { \
|
||||
if (h != nil) \
|
||||
closedir((DIR*)h); \
|
||||
} while(0)
|
||||
|
||||
#define LOCALE_USER_DEFAULT 0
|
||||
#define DATE_SHORTDATE 0
|
||||
|
||||
|
Reference in New Issue
Block a user