diff options
author | fuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68> | 2013-06-07 11:17:37 +0000 |
---|---|---|
committer | fuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68> | 2013-06-07 11:17:37 +0000 |
commit | 39f758728997887a56a7ed6cfc3f85d5cc462da8 (patch) | |
tree | d41f61768f98657968a69bd413cb44e4bfa052c4 | |
parent | 5c72f8e9f3cefdc931bac68aeeef19229be87ffa (diff) | |
download | libapr-39f758728997887a56a7ed6cfc3f85d5cc462da8.tar.gz |
Set platform macro automatically to make commandline compiles easier.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1490588 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | include/apr.hw | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/apr.hw b/include/apr.hw index 0307bdf0e..f36a71d12 100644 --- a/include/apr.hw +++ b/include/apr.hw @@ -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 |