[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4cxx-dev
Subject:    svn commit: r1707552 - /incubator/log4cxx/trunk/src/test/cpp/abts.h
From:       tschoening () apache ! org
Date:       2015-10-08 14:38:37
Message-ID: 20151008143837.4B82E3A03C8 () svn01-us-west ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic