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 2009/12/22 00:07:45 UTC
svn commit: r893025 - in /apr/apr/trunk/include: apr.hw
arch/win32/apr_private.h
Author: wrowe
Date: Mon Dec 21 23:07:45 2009
New Revision: 893025
URL: http://svn.apache.org/viewvc?rev=893025&view=rev
Log:
Noted from abts that this is supposedly a 'standard' portability declaration
Modified:
apr/apr/trunk/include/apr.hw
apr/apr/trunk/include/arch/win32/apr_private.h
Modified: apr/apr/trunk/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.hw?rev=893025&r1=893024&r2=893025&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.hw (original)
+++ apr/apr/trunk/include/apr.hw Mon Dec 21 23:07:45 2009
@@ -675,6 +675,18 @@
typedef int gid_t;
#endif
+/* Typically defined in stdio.h or unistd.h
+ */
+#ifndef STDIN_FILENO
+#define STDIN_FILENO 0
+#endif
+#ifndef STDOUT_FILENO
+#define STDOUT_FILENO 1
+#endif
+#ifndef STDERR_FILENO
+#define STDERR_FILENO 2
+#endif
+
#if APR_HAVE_IPV6
/* Appears in later flavors, not the originals. */
Modified: apr/apr/trunk/include/arch/win32/apr_private.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/arch/win32/apr_private.h?rev=893025&r1=893024&r2=893025&view=diff
==============================================================================
--- apr/apr/trunk/include/arch/win32/apr_private.h (original)
+++ apr/apr/trunk/include/arch/win32/apr_private.h Mon Dec 21 23:07:45 2009
@@ -37,16 +37,6 @@
#define SW_HIDE 0
#endif
-#ifndef STDIN_FILENO
-#define STDIN_FILENO 0
-#endif
-#ifndef STDOUT_FILENO
-#define STDOUT_FILENO 1
-#endif
-#ifndef STDERR_FILENO
-#define STDERR_FILENO 2
-#endif
-
/* For the misc.h late-loaded dynamic symbols, we need some obscure types
* Avoid dragging in wtypes.h unless it's absolutely necessary [generally
* not with APR itself, until some GUI-related security is introduced.]