]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
Fix engine not starting on Windows if linked against SDL > 2.0.5
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index e5247d351afabe274f3e1a933b5915b89bc5b199..9dfdf620c91c9899d26a139272cdc038f86f1b58 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -83,6 +83,9 @@ void Sys_Quit (int returnvalue);
  * profiling to certain areas of the code, such as ingame performance without
  * regard for loading/shutdown performance (-profilegameonly on commandline)
  */
+#ifdef __cplusplus
+extern "C"
+#endif
 void Sys_AllowProfiling (qboolean enable);
 
 typedef struct sys_cleantime_s