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:39:21 UTC
svn commit: r543270 - in /apr/apr/branches/0.9.x/include: apr.hw
arch/win32/apr_private.h
Author: wrowe
Date: Thu May 31 14:39:20 2007
New Revision: 543270
URL: http://svn.apache.org/viewvc?view=rev&rev=543270
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/0.9.x/include/apr.hw
apr/apr/branches/0.9.x/include/arch/win32/apr_private.h
Modified: apr/apr/branches/0.9.x/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/include/apr.hw?view=diff&rev=543270&r1=543269&r2=543270
==============================================================================
--- apr/apr/branches/0.9.x/include/apr.hw (original)
+++ apr/apr/branches/0.9.x/include/apr.hw Thu May 31 14:39:20 2007
@@ -111,7 +111,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/0.9.x/include/arch/win32/apr_private.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/include/arch/win32/apr_private.h?view=diff&rev=543270&r1=543269&r2=543270
==============================================================================
--- apr/apr/branches/0.9.x/include/arch/win32/apr_private.h (original)
+++ apr/apr/branches/0.9.x/include/arch/win32/apr_private.h Thu May 31 14:39:20 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