mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-24 18:35:42 +00:00
Fix FindClose->closedir
This commit is contained in:
parent
ee287f6120
commit
1bfd7c0345
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue