aboutsummaryrefslogtreecommitdiff
path: root/include/pdp_types.h
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2006-09-01 13:45:31 +0000
committerTom Schouten <doelie@users.sourceforge.net>2006-09-01 13:45:31 +0000
commit7591a024f184bd385d35583d19d86c1d5f2531ba (patch)
tree77aa0c44ccb700eb9a2b16e1b246e3c8026c40ed /include/pdp_types.h
parent91dd6b68f0f209ad015a303095bb1df018dca71e (diff)
pdp current darcs merge
svn path=/trunk/externals/pdp/; revision=5816
Diffstat (limited to 'include/pdp_types.h')
-rw-r--r--include/pdp_types.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/include/pdp_types.h b/include/pdp_types.h
index b021dd7..767a937 100644
--- a/include/pdp_types.h
+++ b/include/pdp_types.h
@@ -24,14 +24,25 @@
#ifndef PDP_TYPES_H
#define PDP_TYPES_H
+/* check
+ http://www.unix.org/whitepapers/64bit.html
+ on unix (LP64) int = 32bit
+
+ it was like this:
+
+ typedef signed long s32;
+ typedef unsigned long u32;
+*/
+
+
typedef signed char s8;
typedef signed short s16;
-typedef signed long s32;
+typedef signed int s32;
typedef signed long long s64;
typedef unsigned char u8;
typedef unsigned short u16;
-typedef unsigned long u32;
+typedef unsigned int u32;
typedef unsigned long long u64;