apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1086631 - in /apr/apr: branches/1.3.x/build/apr_hints.m4 branches/1.4.x/build/apr_hints.m4 branches/1.5.x/build/apr_hints.m4 trunk/build/apr_hints.m4
Date Tue, 29 Mar 2011 15:38:01 GMT
Author: fuankg
Date: Tue Mar 29 15:38:00 2011
New Revision: 1086631

URL: http://svn.apache.org/viewvc?rev=1086631&view=rev
Log:
Added __MSVCRT__ for MinGW builds.

This is required to get the prototype for _beginthreadex().

Modified:
    apr/apr/branches/1.3.x/build/apr_hints.m4
    apr/apr/branches/1.4.x/build/apr_hints.m4
    apr/apr/branches/1.5.x/build/apr_hints.m4
    apr/apr/trunk/build/apr_hints.m4

Modified: apr/apr/branches/1.3.x/build/apr_hints.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/build/apr_hints.m4?rev=1086631&r1=1086630&r2=1086631&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/build/apr_hints.m4 (original)
+++ apr/apr/branches/1.3.x/build/apr_hints.m4 Tue Mar 29 15:38:00 2011
@@ -440,7 +440,7 @@ dnl	       # Not a problem in 10.20.  Ot
 	APR_ADDTO(CPPFLAGS, [-DCYGWIN])
 	;;
     *mingw*)
-        APR_ADDTO(CPPFLAGS, [-DWIN32])
+        APR_ADDTO(CPPFLAGS, [-DWIN32 -D__MSVCRT__])
         APR_ADDTO(LDFLAGS, [-Wl,--enable-auto-import,--subsystem,console])
         APR_SETIFNULL(have_unicode_fs, [1])
         APR_SETIFNULL(have_proc_invoked, [1])

Modified: apr/apr/branches/1.4.x/build/apr_hints.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/build/apr_hints.m4?rev=1086631&r1=1086630&r2=1086631&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/build/apr_hints.m4 (original)
+++ apr/apr/branches/1.4.x/build/apr_hints.m4 Tue Mar 29 15:38:00 2011
@@ -442,7 +442,7 @@ dnl	       # Not a problem in 10.20.  Ot
 	APR_ADDTO(CPPFLAGS, [-DCYGWIN])
 	;;
     *mingw*)
-        APR_ADDTO(CPPFLAGS, [-DWIN32])
+        APR_ADDTO(CPPFLAGS, [-DWIN32 -D__MSVCRT__])
         APR_ADDTO(LDFLAGS, [-Wl,--enable-auto-import,--subsystem,console])
         APR_SETIFNULL(have_unicode_fs, [1])
         APR_SETIFNULL(have_proc_invoked, [1])

Modified: apr/apr/branches/1.5.x/build/apr_hints.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/build/apr_hints.m4?rev=1086631&r1=1086630&r2=1086631&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/build/apr_hints.m4 (original)
+++ apr/apr/branches/1.5.x/build/apr_hints.m4 Tue Mar 29 15:38:00 2011
@@ -442,7 +442,7 @@ dnl	       # Not a problem in 10.20.  Ot
 	APR_ADDTO(CPPFLAGS, [-DCYGWIN])
 	;;
     *mingw*)
-        APR_ADDTO(CPPFLAGS, [-DWIN32])
+        APR_ADDTO(CPPFLAGS, [-DWIN32 -D__MSVCRT__])
         APR_ADDTO(LDFLAGS, [-Wl,--enable-auto-import,--subsystem,console])
         APR_SETIFNULL(have_unicode_fs, [1])
         APR_SETIFNULL(have_proc_invoked, [1])

Modified: apr/apr/trunk/build/apr_hints.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/apr_hints.m4?rev=1086631&r1=1086630&r2=1086631&view=diff
==============================================================================
--- apr/apr/trunk/build/apr_hints.m4 (original)
+++ apr/apr/trunk/build/apr_hints.m4 Tue Mar 29 15:38:00 2011
@@ -442,7 +442,7 @@ dnl	       # Not a problem in 10.20.  Ot
 	APR_ADDTO(CPPFLAGS, [-DCYGWIN])
 	;;
     *mingw*)
-        APR_ADDTO(CPPFLAGS, [-DWIN32])
+        APR_ADDTO(CPPFLAGS, [-DWIN32 -D__MSVCRT__])
 	APR_ADDTO(LDFLAGS, [-Wl,--enable-auto-import,--subsystem,console])
 	APR_SETIFNULL(have_unicode_fs, [1])
 	APR_SETIFNULL(have_proc_invoked, [1])



Mime
View raw message