You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ts...@apache.org on 2015/10/08 16:38:37 UTC

svn commit: r1707552 - /incubator/log4cxx/trunk/src/test/cpp/abts.h

Author: tschoening
Date: Thu Oct  8 14:38:36 2015
New Revision: 1707552

URL: http://svn.apache.org/viewvc?rev=1707552&view=rev
Log:
We rely on apr anyways, so include it earlier, because APR will then detect/define WIN32 on it's own an WIn32 users don'T need to manually anymore.

Modified:
    incubator/log4cxx/trunk/src/test/cpp/abts.h

Modified: incubator/log4cxx/trunk/src/test/cpp/abts.h
URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/test/cpp/abts.h?rev=1707552&r1=1707551&r2=1707552&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/test/cpp/abts.h (original)
+++ incubator/log4cxx/trunk/src/test/cpp/abts.h Thu Oct  8 14:38:36 2015
@@ -17,10 +17,11 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+
+#include <apr.h>
+
 #ifdef WIN32
 #include <io.h>
-// WIN32 is missing STDOUT_FILENO and Co.
-#include <apr.h>
 #else
 #include <unistd.h>
 #endif