diff options
author | Eric Anderson <ejona86@gmail.com> | 2009-05-01 17:19:37 -0500 |
---|---|---|
committer | Eric Anderson <ejona86@gmail.com> | 2009-05-01 17:23:09 -0500 |
commit | b43e241bed1f609e45455e9a6ede153f04020366 (patch) | |
tree | 6d954ee942a89e461a6a4dd19305da0a411b0804 /KPL_Start.h | |
parent | ae8bd57cad0273c04e89fc2c267c655c4cb349c3 (diff) | |
download | kpl-b43e241bed1f609e45455e9a6ede153f04020366.tar.gz kpl-b43e241bed1f609e45455e9a6ede153f04020366.zip |
Get existing KPL code to compile and run under Linux. Start work on GTK+
KPL GUI.
Diffstat (limited to 'KPL_Start.h')
-rw-r--r-- | KPL_Start.h | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/KPL_Start.h b/KPL_Start.h index 8c19a6f..1db2cf7 100644 --- a/KPL_Start.h +++ b/KPL_Start.h @@ -6,14 +6,19 @@ #define __declspec(x)
#endif
//---------------------------------------------------------------------------
-extern "C" __declspec(dllexport) int StartSpectator(void*);
-extern "C" __declspec(dllexport) int StartEasy(void*);
-extern "C" __declspec(dllexport) int StartMedium(void*);
-extern "C" __declspec(dllexport) int StartHard(void*);
-extern "C" __declspec(dllexport) int StartVeryHard(void*);
-extern "C" __declspec(dllexport) int StartMultiPlayer(void*);
-extern "C" __declspec(dllexport) int StartSettings(void*);
-extern "C" __declspec(dllexport) int LaunchSpringExecutable(int Difficulty);
-
+#ifdef __cplusplus +extern "C" { +#endif + __declspec(dllexport) int StartSpectator(void*);
+ __declspec(dllexport) int StartEasy(void*);
+ __declspec(dllexport) int StartMedium(void*);
+ __declspec(dllexport) int StartHard(void*);
+ __declspec(dllexport) int StartVeryHard(void*);
+ __declspec(dllexport) int StartMultiPlayer(void*);
+ __declspec(dllexport) int StartSettings(void*);
+ __declspec(dllexport) int LaunchSpringExecutable(int Difficulty);
+#ifdef __cplusplus +} +#endif
//---------------------------------------------------------------------------
#endif
|