00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef NUMERIC_TYPES_H
00020 #define NUMERIC_TYPES_H
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifdef HAVE_NSPR
00032
00033 #include <prtypes.h>
00034
00035 typedef PRInt8 PN_int8;
00036 typedef PRInt16 PN_int16;
00037 typedef PRInt32 PN_int32;
00038 typedef PRInt64 PN_int64;
00039
00040 typedef PRUint8 PN_uint8;
00041 typedef PRUint16 PN_uint16;
00042 typedef PRUint32 PN_uint32;
00043 typedef PRUint64 PN_uint64;
00044
00045 typedef PRFloat64 PN_float64;
00046
00047 #else // HAVE_NSPR
00048
00049
00050
00051
00052 typedef signed char PN_int8;
00053 typedef short PN_int16;
00054 typedef long PN_int32;
00055
00056 #ifdef WIN32_VC
00057 typedef __int64 PN_int64;
00058 typedef unsigned __int64 PN_uint64;
00059 #else
00060 typedef long long PN_int64;
00061 typedef unsigned long long PN_uint64;
00062 #endif
00063
00064 typedef unsigned char PN_uint8;
00065 typedef unsigned short PN_uint16;
00066 typedef unsigned long PN_uint32;
00067
00068 typedef double PN_float64;
00069
00070 #endif // HAVE_NSPR
00071
00072 #endif
00073
00074
00075
00076