mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-07-25 17:55:24 +02:00
use the macro extension ##__VA_ARGS on windows to allow gcc compilation via msys2
This commit is contained in:
parent
478e2b3b52
commit
1f51518734
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ static inline void reset_LastError()
|
|||
auto __prnt_dbg_f = fopen(dbg_log_file.c_str(), "a"); \
|
||||
if (!__prnt_dbg_f) break; \
|
||||
fprintf(__prnt_dbg_f, "[%llu ms, %llu us] [tid %lu] %s() " a "\n", \
|
||||
__prnt_dbg_ms.count(), __prnt_dbg_micro.count(), GetCurrentThreadId(), __FUNCTION__, __VA_ARGS__); \
|
||||
__prnt_dbg_ms.count(), __prnt_dbg_micro.count(), GetCurrentThreadId(), __FUNCTION__, ##__VA_ARGS__); \
|
||||
fclose(__prnt_dbg_f); \
|
||||
WSASetLastError(0); \
|
||||
} while (0)
|
||||
|
|
Loading…
Add table
Reference in a new issue