aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackends/PalmOS/Src/palmversion.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/backends/PalmOS/Src/palmversion.h b/backends/PalmOS/Src/palmversion.h
index 5a61ade39f..d4362ddd61 100755
--- a/backends/PalmOS/Src/palmversion.h
+++ b/backends/PalmOS/Src/palmversion.h
@@ -1,12 +1,19 @@
#ifndef PALMVERSION_H
#define PALMVERSION_H
-#if defined(PALMOS_68K)
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#if defined(COMPILE_ZODIAC)
+# include <tapwave.h>
+#else
# include <PalmOS.h>
# include <VFSMgr.h>
+#endif
-#elif defined(COMPILE_ZODIAC) && defined(PALMOS_ARM)
-# include <tapwave.h>
+#ifdef __cplusplus
+}
#endif
#endif