aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-10-26 14:11:54 -0700
committerChris Robinson <[email protected]>2018-10-29 10:10:37 -0700
commit7f8ef092aac523cf52c77e069cb6091370ab0a7a (patch)
tree638ee29bea5d3897a9d5777ed22aceaa7451242f /Alc
parent44a4602508119b528fd290c8d6ff836a5a8db87f (diff)
Fix a couple internal headers to compile with C++
Diffstat (limited to 'Alc')
-rw-r--r--Alc/logging.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/logging.h b/Alc/logging.h
index 785771c8..2d9f4063 100644
--- a/Alc/logging.h
+++ b/Alc/logging.h
@@ -17,7 +17,7 @@ extern "C" {
extern FILE *LogFile;
#if defined(__GNUC__) && !defined(_WIN32)
-#define AL_PRINT(T, MSG, ...) fprintf(LogFile, "AL lib: %s %s: "MSG, T, __FUNCTION__ , ## __VA_ARGS__)
+#define AL_PRINT(T, MSG, ...) fprintf(LogFile, "AL lib: %s %s: " MSG, T, __FUNCTION__ , ## __VA_ARGS__)
#else
void al_print(const char *type, const char *func, const char *fmt, ...) DECL_FORMAT(printf, 3,4);
#define AL_PRINT(T, ...) al_print((T), __FUNCTION__, __VA_ARGS__)
@@ -25,7 +25,7 @@ void al_print(const char *type, const char *func, const char *fmt, ...) DECL_FOR
#ifdef __ANDROID__
#include <android/log.h>
-#define LOG_ANDROID(T, MSG, ...) __android_log_print(T, "openal", "AL lib: %s: "MSG, __FUNCTION__ , ## __VA_ARGS__)
+#define LOG_ANDROID(T, MSG, ...) __android_log_print(T, "openal", "AL lib: %s: " MSG, __FUNCTION__ , ## __VA_ARGS__)
#else
#define LOG_ANDROID(T, MSG, ...) ((void)0)
#endif