aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/logging.h')
-rw-r--r--Alc/logging.h4
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__