aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/logging.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-03-09 17:24:03 -0800
committerChris Robinson <[email protected]>2018-03-09 17:24:03 -0800
commit30821e978b69fa017cbcd76e5ff25c62f16b1d2a (patch)
tree6c47c2d5f96d95c46de636a79cbb2e21fb39308f /Alc/logging.h
parentc0e7a5b8b07132f39e7bf60371586d5d56984e14 (diff)
Add extern "C" to some headers
Diffstat (limited to 'Alc/logging.h')
-rw-r--r--Alc/logging.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/logging.h b/Alc/logging.h
index 18093b75..785771c8 100644
--- a/Alc/logging.h
+++ b/Alc/logging.h
@@ -10,6 +10,10 @@
#define DECL_FORMAT(x, y, z)
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern FILE *LogFile;
#if defined(__GNUC__) && !defined(_WIN32)
@@ -58,4 +62,8 @@ extern enum LogLevel LogLevel;
LOG_ANDROID(ANDROID_LOG_ERROR, __VA_ARGS__); \
} while(0)
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* LOGGING_H */