You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2013/06/07 13:17:37 UTC
svn commit: r1490588 - in /apr: apr-util/branches/1.5.x/include/apu.hw
apr/branches/1.4.x/include/apr.hw apr/branches/1.5.x/include/apr.hw
apr/trunk/include/apr.hw
Author: fuankg
Date: Fri Jun 7 11:17:37 2013
New Revision: 1490588
URL: http://svn.apache.org/r1490588
Log:
Set platform macro automatically to make commandline compiles easier.
Modified:
apr/apr-util/branches/1.5.x/include/apu.hw
apr/apr/branches/1.4.x/include/apr.hw
apr/apr/branches/1.5.x/include/apr.hw
apr/apr/trunk/include/apr.hw
Modified: apr/apr-util/branches/1.5.x/include/apu.hw
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.5.x/include/apu.hw?rev=1490588&r1=1490587&r2=1490588&view=diff
==============================================================================
--- apr/apr-util/branches/1.5.x/include/apu.hw (original)
+++ apr/apr-util/branches/1.5.x/include/apu.hw Fri Jun 7 11:17:37 2013
@@ -42,6 +42,11 @@
* conventions at compile time.
*/
+/* Make sure we have our platform identifier macro defined we ask for later.
+#if defined(_WIN32) && !defined(WIN32)
+#define WIN32 1
+#endif
+
#if defined(DOXYGEN) || !defined(WIN32)
/**
* The public APR-UTIL functions are declared with APU_DECLARE(), so they may
Modified: apr/apr/branches/1.4.x/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/include/apr.hw?rev=1490588&r1=1490587&r2=1490588&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/include/apr.hw (original)
+++ apr/apr/branches/1.4.x/include/apr.hw Fri Jun 7 11:17:37 2013
@@ -36,6 +36,11 @@
* for Win32 or Netware by those build environments, respectively.
*/
+/* Make sure we have our platform identifier macro defined we ask for later.
+#if defined(_WIN32) && !defined(WIN32)
+#define WIN32 1
+#endif
+
#if defined(WIN32) || defined(DOXYGEN)
/* Ignore most warnings (back down to /W3) for poorly constructed headers
Modified: apr/apr/branches/1.5.x/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/include/apr.hw?rev=1490588&r1=1490587&r2=1490588&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/include/apr.hw (original)
+++ apr/apr/branches/1.5.x/include/apr.hw Fri Jun 7 11:17:37 2013
@@ -36,6 +36,11 @@
* for Win32 or Netware by those build environments, respectively.
*/
+/* Make sure we have our platform identifier macro defined we ask for later.
+#if defined(_WIN32) && !defined(WIN32)
+#define WIN32 1
+#endif
+
#if defined(WIN32) || defined(DOXYGEN)
/* Ignore most warnings (back down to /W3) for poorly constructed headers
Modified: apr/apr/trunk/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.hw?rev=1490588&r1=1490587&r2=1490588&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.hw (original)
+++ apr/apr/trunk/include/apr.hw Fri Jun 7 11:17:37 2013
@@ -28,6 +28,19 @@
* apr.hw by the apr.dsp and libapr.dsp projects.
*/
+/**
+ * @file apr.h
+ * @brief APR Platform Definitions
+ * @remark This is a generated header generated from include/apr.h.in by
+ * ./configure, or copied from include/apr.hw or include/apr.hnw
+ * for Win32 or Netware by those build environments, respectively.
+ */
+
+/* Make sure we have our platform identifier macro defined we ask for later.
+#if defined(_WIN32) && !defined(WIN32)
+#define WIN32 1
+#endif
+
/* Ignore most warnings (back down to /W3) for poorly constructed headers,
* excluded from doxygen parsing
*/