|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85136 - trunk/boost/config/compiler
From: john_at_[hidden]
Date: 2013-07-23 13:26:42
Author: johnmaddock
Date: 2013-07-23 13:26:41 EDT (Tue, 23 Jul 2013)
New Revision: 85136
URL: http://svn.boost.org/trac/boost/changeset/85136
Log:
Use underscores in attribute names.
Fixes #8849.
Text files modified:
trunk/boost/config/compiler/gcc.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/config/compiler/gcc.hpp
==============================================================================
--- trunk/boost/config/compiler/gcc.hpp Tue Jul 23 13:07:27 2013 (r85135)
+++ trunk/boost/config/compiler/gcc.hpp 2013-07-23 13:26:41 EDT (Tue, 23 Jul 2013) (r85136)
@@ -136,13 +136,13 @@
// _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment,
// so does not define _WIN32 or its variants.
# define BOOST_HAS_DECLSPEC
-# define BOOST_SYMBOL_EXPORT __attribute__((dllexport))
-# define BOOST_SYMBOL_IMPORT __attribute__((dllimport))
+# define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__))
+# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
# else
-# define BOOST_SYMBOL_EXPORT __attribute__((visibility("default")))
+# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
# define BOOST_SYMBOL_IMPORT
# endif
-# define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default")))
+# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
#else
// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
# define BOOST_SYMBOL_EXPORT
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk