ports/www/apache22/files/patch-include__httpd.h
Mathieu Arnold 457162a940 Remove a #define strtoul that is messing up with c++.
Differential Revision:	https://reviews.freebsd.org/D945
Approved by:	ohauer
Sponsored by:	Absolight
2014-10-14 13:23:51 +00:00

15 lines
551 B
C

--- include/httpd.h.orig 2014-08-21 17:33:48 UTC
+++ include/httpd.h
@@ -1905,12 +1905,6 @@
const char *cmd,
const char * const *argv);
-/** strtoul does not exist on sunos4. */
-#ifdef strtoul
-#undef strtoul
-#endif
-#define strtoul strtoul_is_not_a_portable_function_use_strtol_instead
-
/* The C library has functions that allow const to be silently dropped ...
these macros detect the drop in maintainer mode, but use the native
methods for normal builds