diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2008-12-20 14:46:54 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2008-12-20 14:46:54 +0000 |
commit | 625e0119a4db872879655fa20a2099813995c946 (patch) | |
tree | 1ce8f43fb7bdce5de37eaecbdab4dcfc1f5880f9 /src/bin/main.h | |
parent | f25f609de9ed8060212674ce5828e55f15e08780 (diff) |
* missing var
* allow the export of symbols with VC++
SVN revision: 38249
Diffstat (limited to 'src/bin/main.h')
-rw-r--r-- | src/bin/main.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bin/main.h b/src/bin/main.h index 03c41b7..cf6143e 100644 --- a/src/bin/main.h +++ b/src/bin/main.h | |||
@@ -64,6 +64,11 @@ | |||
64 | #include "engine_software_16_wince.h" | 64 | #include "engine_software_16_wince.h" |
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | #ifdef __cplusplus | ||
68 | extern "C" | ||
69 | { | ||
70 | #endif | ||
71 | |||
67 | #include "ui.h" | 72 | #include "ui.h" |
68 | #include "about.h" | 73 | #include "about.h" |
69 | 74 | ||
@@ -80,6 +85,10 @@ const char *build_path(const char *filename); | |||
80 | void engine_loop(void); | 85 | void engine_loop(void); |
81 | int engine_abort(void); | 86 | int engine_abort(void); |
82 | 87 | ||
88 | #ifdef __cplusplus | ||
89 | } | ||
90 | #endif | ||
91 | |||
83 | #define KEY_STD \ | 92 | #define KEY_STD \ |
84 | if ((!strcmp(key, "Escape")) || (!strcmp(key, "q")) || (!strcmp(key, "Q")) || (!strcmp(key, "Return"))) \ | 93 | if ((!strcmp(key, "Escape")) || (!strcmp(key, "q")) || (!strcmp(key, "Q")) || (!strcmp(key, "Return"))) \ |
85 | { \ | 94 | { \ |