summaryrefslogtreecommitdiff
path: root/include/apr.hw
diff options
context:
space:
mode:
authorfuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68>2013-06-07 11:17:37 +0000
committerfuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68>2013-06-07 11:17:37 +0000
commit0bd116886e6bd8fd80359e6bb7f32065292d0218 (patch)
treeea0a5e8c497bb99ae3e0b599b3a0417f359f59d1 /include/apr.hw
parentd373f90ff4a32708ffe8cc9750c02eef1d5835e0 (diff)
downloadlibapr-0bd116886e6bd8fd80359e6bb7f32065292d0218.tar.gz
Set platform macro automatically to make commandline compiles easier.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1490588 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr.hw')
-rw-r--r--include/apr.hw13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/apr.hw b/include/apr.hw
index 9d7875d77..ce8b5ef18 100644
--- a/include/apr.hw
+++ b/include/apr.hw
@@ -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
*/