diff options
Diffstat (limited to 'backends/PalmOS/Src/missing/time.h')
-rw-r--r-- | backends/PalmOS/Src/missing/time.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/backends/PalmOS/Src/missing/time.h b/backends/PalmOS/Src/missing/time.h index 706f6684bc..3de16f4517 100644 --- a/backends/PalmOS/Src/missing/time.h +++ b/backends/PalmOS/Src/missing/time.h @@ -25,9 +25,12 @@ #ifndef __TIME_H__ #define __TIME_H__ - #include "palmversion.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef UInt32 time_t; struct tm { @@ -45,4 +48,8 @@ struct tm { time_t time(time_t *tloc); struct tm *localtime(const time_t *timer); +#ifdef __cplusplus +} +#endif + #endif |