diff options
-rw-r--r-- | include/apr.hw | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/apr.hw b/include/apr.hw index 28c98976a..d00686e6c 100644 --- a/include/apr.hw +++ b/include/apr.hw @@ -359,15 +359,21 @@ typedef int apr_socklen_t; /* XXX These simply don't belong here, perhaps in apr_portable.h * based on some APR_HAVE_PID/GID/UID? */ +#ifndef __GNUC__ typedef int pid_t; +#endif typedef int uid_t; typedef int gid_t; /* Mechanisms to properly type numeric literals */ +#ifndef __GNUC__ #define APR_INT64_C(val) (val##i64) #define APR_UINT64_C(val) (val##Ui64) - +#else +#define APR_INT64_C(val) (val##LL) +#define APR_UINT64_C(val) (val##ULL) +#endif #if APR_HAVE_IPV6 |