diff options
author | Chris Robinson <[email protected]> | 2019-06-18 22:57:48 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-06-18 22:57:48 -0700 |
commit | 0fa984027c37e6ae9f5acbfd013cba5ba90ea9aa (patch) | |
tree | 7c4980e9f8918fcec314402cfcf1b98b6492c8a5 /Alc/logging.h | |
parent | 706df72d1813272e6cdfe817cf4c0adfefa13bd9 (diff) |
Simplify al_print
Diffstat (limited to 'Alc/logging.h')
-rw-r--r-- | Alc/logging.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/logging.h b/Alc/logging.h index b5faf698..0bb0c87b 100644 --- a/Alc/logging.h +++ b/Alc/logging.h @@ -15,11 +15,11 @@ extern FILE *gLogFile; +void al_print(FILE *logfile, const char *fmt, ...) DECL_FORMAT(printf, 2,3); #if !defined(_WIN32) #define AL_PRINT(T, ...) fprintf(gLogFile, "AL lib: " T " " __VA_ARGS__) #else -void al_print(const char *type, const char *fmt, ...) DECL_FORMAT(printf, 2,3); -#define AL_PRINT(T, ...) al_print((T), __VA_ARGS__) +#define AL_PRINT(T, ...) al_print(gLogFile, "AL lib: " T " " __VA_ARGS__) #endif #ifdef __ANDROID__ |