You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2014/02/12 20:22:48 UTC
svn commit: r1567726 - in /apr/apr/branches/1.5.x/file_io: unix/mktemp.c
win32/open.c win32/pipe.c
Author: wrowe
Date: Wed Feb 12 19:22:47 2014
New Revision: 1567726
URL: http://svn.apache.org/r1567726
Log:
Correct nonsense test for non-exported sys/stat.h autoconf flag
Partial backport of: r1567722
Modified:
apr/apr/branches/1.5.x/file_io/unix/mktemp.c
apr/apr/branches/1.5.x/file_io/win32/open.c
apr/apr/branches/1.5.x/file_io/win32/pipe.c
Modified: apr/apr/branches/1.5.x/file_io/unix/mktemp.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/file_io/unix/mktemp.c?rev=1567726&r1=1567725&r2=1567726&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/file_io/unix/mktemp.c (original)
+++ apr/apr/branches/1.5.x/file_io/unix/mktemp.c Wed Feb 12 19:22:47 2014
@@ -74,7 +74,7 @@
#if APR_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
-#if APR_HAVE_SYS_STAT_H
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#if APR_HAVE_FCNTL_H
Modified: apr/apr/branches/1.5.x/file_io/win32/open.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/file_io/win32/open.c?rev=1567726&r1=1567725&r2=1567726&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/file_io/win32/open.c (original)
+++ apr/apr/branches/1.5.x/file_io/win32/open.c Wed Feb 12 19:22:47 2014
@@ -26,7 +26,7 @@
#endif
#include <winbase.h>
#include <string.h>
-#if APR_HAVE_SYS_STAT_H
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#include "apr_arch_misc.h"
Modified: apr/apr/branches/1.5.x/file_io/win32/pipe.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/file_io/win32/pipe.c?rev=1567726&r1=1567725&r2=1567726&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/file_io/win32/pipe.c (original)
+++ apr/apr/branches/1.5.x/file_io/win32/pipe.c Wed Feb 12 19:22:47 2014
@@ -26,7 +26,7 @@
#if APR_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
-#if APR_HAVE_SYS_STAT_H
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#if APR_HAVE_PROCESS_H