mirror of
https://github.com/halpz/re3.git
synced 2024-12-22 17:35:29 +00:00
Fix FindClose->closedir
This commit is contained in:
parent
49fd99119d
commit
5ee4931fb6
|
@ -132,7 +132,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
|
||||
|
||||
|
|
Loading…
Reference in a new issue