freebsd-ports/net/lambdamoo/files/patch-config.h.in
Adam Weinberger 69ea23ed71 Rename net/ patch-xy patches to reflect the files they modify.
Approve by:	portmgr (not really, but one of these is modifying
		an unstaged port)
2014-07-29 01:59:16 +00:00

28 lines
702 B
C

--- config.h.in.orig Sun Jul 4 16:45:44 1999
+++ config.h.in Sun Jul 4 16:45:54 1999
@@ -163,7 +163,7 @@
* system provides the named functions.
*/
-#undef HAVE_CRYPT
+/* #undef HAVE_CRYPT */
#undef HAVE_MATHERR
#undef HAVE_MKFIFO
#undef HAVE_REMOVE
@@ -257,12 +257,16 @@
#if INT_MAX == 2147483647
typedef int int32;
typedef unsigned unsigned32;
+# ifndef INT32_MAX
# define INT32_MAX INT_MAX
+# endif
#else
# if LONG_MAX == 2147483647
typedef long int int32;
typedef unsigned long unsigned32;
+# ifndef INT32_MAX
# define INT32_MAX LONG_MAX
+# endif
# else
# error I cannot figure out how to express a 32-bit integer on your machine.
# endif