binpac: Adapted binpac to compile with MSVC for Windows environment.

This commit is contained in:
Elad Solomon 2021-04-22 17:36:41 +03:00 committed by Tim Wojtulewicz
parent dd3737b5c8
commit faa1b7abbf
5 changed files with 29 additions and 13 deletions

View file

@ -6,9 +6,7 @@
extern bool FLAGS_pac_debug;
#define ASSERT(x) assert(x)
#define DEBUG_MSG(x...) \
if ( FLAGS_pac_debug ) \
fprintf(stderr, x)
#define ASSERT(x) assert(x)
#define DEBUG_MSG(...) if ( FLAGS_pac_debug ) fprintf(stderr, __VA_ARGS__)
#endif /* pac_dbg_h */