]> granicus.if.org Git - apache/commitdiff
Allow use of strtoul()
authorStefan Fritsch <sf@apache.org>
Sun, 9 Jun 2013 08:19:29 +0000 (08:19 +0000)
committerStefan Fritsch <sf@apache.org>
Sun, 9 Jun 2013 08:19:29 +0000 (08:19 +0000)
It conforms to C89 and we don't support older compilers than that.

PR: 55077

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1491155 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h

index 1703a6b0228ec9c1f773f952fea02cbeaeb24b4e..5364a5642957ebfb9a70a08cd84ab698f50129f4 100644 (file)
@@ -2162,12 +2162,6 @@ extern int raise_sigstop_flags;
  */
 AP_DECLARE(const char *) ap_psignature(const char *prefix, request_rec *r);
 
-/** 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