You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/06/01 00:42:31 UTC

svn commit: r543294 - /apr/apr/branches/0.9.x/include/apr.hw

Author: wrowe
Date: Thu May 31 15:42:30 2007
New Revision: 543294

URL: http://svn.apache.org/viewvc?view=rev&rev=543294
Log:
Mingw specific defines:
LL [long long] for 64bits types
pid_t is already defined

PR: 33490/attachment 18103
Submitted by: Curt Arnold <carnold apache.org>
Reviewed by: Davi Arnaut <davi haxent.com.br>
Backport: 543292

Modified:
    apr/apr/branches/0.9.x/include/apr.hw

Modified: apr/apr/branches/0.9.x/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/include/apr.hw?view=diff&rev=543294&r1=543293&r2=543294
==============================================================================
--- apr/apr/branches/0.9.x/include/apr.hw (original)
+++ apr/apr/branches/0.9.x/include/apr.hw Thu May 31 15:42:30 2007
@@ -358,13 +358,19 @@
 /* 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)
+#else
+#define APR_INT64_C(val) (val##LL)
+#endif
 
 
 #if APR_HAVE_IPV6