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 2007/05/31 23:38:59 UTC
svn commit: r543269 - in /apr/apr/branches/1.2.x/include: apr.hw
arch/win32/apr_private.h
Author: wrowe
Date: Thu May 31 14:38:57 2007
New Revision: 543269
URL: http://svn.apache.org/viewvc?view=rev&rev=543269
Log:
Stop undefining __attribute__ for GNUC (only 2.7 and prior might be interesting
and can't think of any case where native win32 binaries would be created with
such an ancient compiler.)
Backport: 543219
PR: 42545
Modified:
apr/apr/branches/1.2.x/include/apr.hw
apr/apr/branches/1.2.x/include/arch/win32/apr_private.h
Modified: apr/apr/branches/1.2.x/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/include/apr.hw?view=diff&rev=543269&r1=543268&r2=543269
==============================================================================
--- apr/apr/branches/1.2.x/include/apr.hw (original)
+++ apr/apr/branches/1.2.x/include/apr.hw Thu May 31 14:38:57 2007
@@ -113,7 +113,7 @@
#define APR_INLINE __inline
#define APR_HAS_INLINE 1
-#ifndef __attribute__
+#if !defined(__GNUC__) && !defined(__attribute__)
#define __attribute__(__x)
#endif
Modified: apr/apr/branches/1.2.x/include/arch/win32/apr_private.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/include/arch/win32/apr_private.h?view=diff&rev=543269&r1=543268&r2=543269
==============================================================================
--- apr/apr/branches/1.2.x/include/arch/win32/apr_private.h (original)
+++ apr/apr/branches/1.2.x/include/arch/win32/apr_private.h Thu May 31 14:38:57 2007
@@ -114,8 +114,6 @@
#define SIGWINCH 30
#define SIGIO 31
-#define __attribute__(__x)
-
/* APR COMPATABILITY FUNCTIONS
* This section should be used to define functions and
* macros which are need to make Windows features look