summaryrefslogtreecommitdiff
path: root/openbsd-compat/fake-rfc2553.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-08-03 15:36:21 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-08-03 15:36:21 +1000
commit9825697d3cf75e262dc81f01f7f6bf1e234306d3 (patch)
tree801bff6978e5372225ae81dba02c43334de59248 /openbsd-compat/fake-rfc2553.h
parent212cfc4b4869fbbe5b038f7480e67d26f60f1545 (diff)
- (dtucker) [openbsd-compat/fake-rfc2553.h] MAX_INT -> INT_MAX since the
latter is specified in the standard.
Diffstat (limited to 'openbsd-compat/fake-rfc2553.h')
-rw-r--r--openbsd-compat/fake-rfc2553.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h
index 24a34d17..cbcf7f72 100644
--- a/openbsd-compat/fake-rfc2553.h
+++ b/openbsd-compat/fake-rfc2553.h
@@ -1,4 +1,4 @@
-/* $Id: fake-rfc2553.h,v 1.11 2005/08/03 00:57:15 dtucker Exp $ */
+/* $Id: fake-rfc2553.h,v 1.12 2005/08/03 05:36:21 dtucker Exp $ */
/*
* Copyright (C) 2000-2003 Damien Miller. All rights reserved.
@@ -114,16 +114,16 @@ struct sockaddr_in6 {
#endif /* !NI_MAXHOST */
#ifndef EAI_NODATA
-# define EAI_NODATA (MAX_INT - 1)
+# define EAI_NODATA (INT_MAX - 1)
#endif
#ifndef EAI_MEMORY
-# define EAI_MEMORY (MAX_INT - 2)
+# define EAI_MEMORY (INT_MAX - 2)
#endif
#ifndef EAI_NONAME
-# define EAI_NONAME (MAX_INT - 3)
+# define EAI_NONAME (INT_MAX - 3)
#endif
#ifndef EAI_SYSTEM
-# define EAI_SYSTEM (MAX_INT - 4)
+# define EAI_SYSTEM (INT_MAX - 4)
#endif
#ifndef HAVE_STRUCT_ADDRINFO