aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-03-17 09:16:33 -0700
committerChris Robinson <[email protected]>2014-03-17 09:16:33 -0700
commitbb787ba8ee6971434572418222df417374254c01 (patch)
tree0c84be0821f6b39bbd4e28122f02b0547cce21b1 /OpenAL32/Include
parent308d87b12aa2b8018be9023c89ad09fcf01d99d1 (diff)
Avoid GCC's macro arg concat extension with IDE parsing
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 5f74eab0..9cc6f9af 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -816,7 +816,7 @@ const ALCchar *DevFmtChannelsString(enum DevFmtChannels chans);
extern FILE *LogFile;
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(IN_IDE_PARSER)
#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, ...) PRINTF_STYLE(3,4);