summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/defines.h b/defines.h
index 49c901aff..61203c3fe 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.161 2010/10/24 00:58:44 dtucker Exp $ */ 28/* $Id: defines.h,v 1.162 2010/10/25 05:54:28 dtucker Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -250,16 +250,16 @@ typedef unsigned char u_char;
250#define SIZE_T_MAX ULONG_MAX 250#define SIZE_T_MAX ULONG_MAX
251#endif /* SIZE_T_MAX */ 251#endif /* SIZE_T_MAX */
252 252
253#ifndef SIZE_MAX
254#define SIZE_MAX UINT_MAX
255#endif
256
257#ifndef HAVE_SIZE_T 253#ifndef HAVE_SIZE_T
258typedef unsigned int size_t; 254typedef unsigned int size_t;
259# define HAVE_SIZE_T 255# define HAVE_SIZE_T
260# define SIZE_T_MAX UINT_MAX 256# define SIZE_T_MAX UINT_MAX
261#endif /* HAVE_SIZE_T */ 257#endif /* HAVE_SIZE_T */
262 258
259#ifndef SIZE_MAX
260#define SIZE_MAX SIZE_T_MAX
261#endif
262
263#ifndef HAVE_SSIZE_T 263#ifndef HAVE_SSIZE_T
264typedef int ssize_t; 264typedef int ssize_t;
265# define HAVE_SSIZE_T 265# define HAVE_SSIZE_T