summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 10f72f478..fdd37bb88 100644
--- a/defines.h
+++ b/defines.h
@@ -61,6 +61,7 @@ typedef long int int64_t;
61# else 61# else
62# if (SIZEOF_LONG_LONG_INT == 8) 62# if (SIZEOF_LONG_LONG_INT == 8)
63typedef long long int int64_t; 63typedef long long int int64_t;
64# define HAVE_INTXX_T
64# else 65# else
65# error "64 bit int type not found." 66# error "64 bit int type not found."
66# endif 67# endif
@@ -89,6 +90,7 @@ typedef unsigned long int u_int64_t;
89# else 90# else
90# if (SIZEOF_LONG_LONG_INT == 8) 91# if (SIZEOF_LONG_LONG_INT == 8)
91typedef unsigned long long int u_int64_t; 92typedef unsigned long long int u_int64_t;
93# define HAVE_U_INTXX_T
92# else 94# else
93# error "64 bit int type not found." 95# error "64 bit int type not found."
94# endif 96# endif
@@ -100,14 +102,17 @@ typedef unsigned long long int u_int64_t;
100/* being defined by the above */ 102/* being defined by the above */
101#ifndef HAVE_QUAD_T 103#ifndef HAVE_QUAD_T
102typedef int64_t quad_t; 104typedef int64_t quad_t;
105# define HAVE_QUAD_T
103#endif 106#endif
104 107
105#ifndef HAVE_SOCKLEN_T 108#ifndef HAVE_SOCKLEN_T
106typedef unsigned int socklen_t; 109typedef unsigned int socklen_t;
110# define HAVE_SOCKLEN_T
107#endif /* HAVE_SOCKLEN_T */ 111#endif /* HAVE_SOCKLEN_T */
108 112
109#ifndef HAVE_SIZE_T 113#ifndef HAVE_SIZE_T
110typedef unsigned int size_t; 114typedef unsigned int size_t;
115# define HAVE_SIZE_T
111#endif /* HAVE_SIZE_T */ 116#endif /* HAVE_SIZE_T */
112 117
113/* Paths */ 118/* Paths */