Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50209 - sandbox/dataflow-rewrite/boost/dataflow/utility
From: stipe_at_[hidden]
Date: 2008-12-08 17:02:48


Author: srajko
Date: 2008-12-08 17:02:48 EST (Mon, 08 Dec 2008)
New Revision: 50209
URL: http://svn.boost.org/trac/boost/changeset/50209

Log:
export symbols added
Added:
   sandbox/dataflow-rewrite/boost/dataflow/utility/export_symbols.hpp (contents, props changed)

Added: sandbox/dataflow-rewrite/boost/dataflow/utility/export_symbols.hpp
==============================================================================
--- (empty file)
+++ sandbox/dataflow-rewrite/boost/dataflow/utility/export_symbols.hpp 2008-12-08 17:02:48 EST (Mon, 08 Dec 2008)
@@ -0,0 +1,24 @@
+/*=================================---------------------------------------------
+ Copyright 2008 Stjepan Rajko
+ Copyright 2007 Jeremy Pack
+
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENSE_1_0.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt)
+-----------------------------------------------===============================*/
+
+
+#ifndef BOOST_EXPORT_SYMBOLS
+
+#if __GNUC__ >= 4
+# define BOOST_EXPORT_SYMBOLS __attribute__((visibility("default")))
+# define BOOST_IMPORT_SYMBOLS __attribute__((visibility("hidden")))
+#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(MSC_VER)
+# define BOOST_EXPORT_SYMBOLS __declspec(dllexport)
+# define BOOST_IMPORT_SYMBOLS __declspec(dllimport)
+#elif
+# define BOOST_EXPORT_SYMBOLS
+# define BOOST_IMPORT_SYMBOLS
+#endif
+
+#endif


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