summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-03 15:57:06 +1000
committerDamien Miller <djm@mindrot.org>2000-04-03 15:57:06 +1000
commit70494d18eea315a70a7b7604080b8815d492b262 (patch)
tree06f98134de091ccf6f606e3aeb7de6047ca4eb32 /defines.h
parentecf6240b6d9837f1c7612f593e12677bf22a46d4 (diff)
- Disable tests and typedefs for 64 bit types. They are currently unused.
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 831fbaa9e..b22d703f5 100644
--- a/defines.h
+++ b/defines.h
@@ -75,6 +75,7 @@ typedef int int32_t;
75# else 75# else
76# error "32 bit int type not found." 76# error "32 bit int type not found."
77# endif 77# endif
78/*
78# if (SIZEOF_LONG_INT == 8) 79# if (SIZEOF_LONG_INT == 8)
79typedef long int int64_t; 80typedef long int int64_t;
80# else 81# else
@@ -85,6 +86,7 @@ typedef long long int int64_t;
85# error "64 bit int type not found." 86# error "64 bit int type not found."
86# endif 87# endif
87# endif 88# endif
89*/
88#endif 90#endif
89 91
90/* If sys/types.h does not supply u_intXX_t, supply them ourselves */ 92/* If sys/types.h does not supply u_intXX_t, supply them ourselves */
@@ -93,7 +95,9 @@ typedef long long int int64_t;
93typedef uint8_t u_int8_t; 95typedef uint8_t u_int8_t;
94typedef uint16_t u_int16_t; 96typedef uint16_t u_int16_t;
95typedef uint32_t u_int32_t; 97typedef uint32_t u_int32_t;
98/*
96typedef uint64_t u_int64_t; 99typedef uint64_t u_int64_t;
100*/
97# define HAVE_U_INTXX_T 1 101# define HAVE_U_INTXX_T 1
98# else 102# else
99# if (SIZEOF_CHAR == 1) 103# if (SIZEOF_CHAR == 1)
@@ -111,6 +115,7 @@ typedef unsigned int u_int32_t;
111# else 115# else
112# error "32 bit int type not found." 116# error "32 bit int type not found."
113# endif 117# endif
118/*
114# if (SIZEOF_LONG_INT == 8) 119# if (SIZEOF_LONG_INT == 8)
115typedef unsigned long int u_int64_t; 120typedef unsigned long int u_int64_t;
116# else 121# else
@@ -121,6 +126,7 @@ typedef unsigned long long int u_int64_t;
121# error "64 bit int type not found." 126# error "64 bit int type not found."
122# endif 127# endif
123# endif 128# endif
129*/
124# endif 130# endif
125#endif 131#endif
126 132