diff options
author | Fritz Elfert <felfert@to.com> | 2002-02-15 08:50:04 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-02-15 08:50:04 +0000 |
commit | a15cf8adb15821a895718a85aafc3c8f06d9e6f1 (patch) | |
tree | 430615239582662dae9fb8b61ffa5afff8aeb390 /include | |
parent | 44f67105e729be31f5741c1c8db8c43b8ff3afb2 (diff) | |
download | plptools-a15cf8adb15821a895718a85aafc3c8f06d9e6f1.tar.gz plptools-a15cf8adb15821a895718a85aafc3c8f06d9e6f1.tar.bz2 plptools-a15cf8adb15821a895718a85aafc3c8f06d9e6f1.zip |
- Fixed psitime again. Waaahh, these guys at symbian change filetimes when
switching DST/Non-DST.
Diffstat (limited to 'include')
-rw-r--r-- | include/plp_inttypes.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/plp_inttypes.h b/include/plp_inttypes.h new file mode 100644 index 0000000..0c92d80 --- /dev/null +++ b/include/plp_inttypes.h @@ -0,0 +1,35 @@ +#ifndef _INTTYPES_H_ +#define _INTTYPES_H_ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <sys/types.h> + +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif + +#ifdef HAVE_SYS_INT_TYPES_H +#include <sys/int_types.h> +#endif + +#ifndef GNU_INTTYPES +#ifdef ISO_INTTYPES +typedef uint8_t u_int8_t; +typedef uint16_t u_int16_t; +typedef uint32_t u_int32_t; +typedef uint64_t u_int64_t; +typedef int64_t s_int64_t; +#else +/* Last resort, declare ourselves */ +typedef unsigned char u_int8_t; +typedef unsigned short u_int16_t; +typedef unsigned int u_int32_t; +typedef unsigned long long u_int64_t; +typedef signed long long s_int64_t; +#endif // ISO_INTTYPES +#endif // GNU_INTTYPES + +#endif // _INTTYPES_H_ |