Go to the documentation of this file.00001
00002
00009
00010 #ifndef ICL_CORE_DISPATCH_IMPORT_EXPORT_H_INCLUDED
00011 #define ICL_CORE_DISPATCH_IMPORT_EXPORT_H_INCLUDED
00012
00013 #if defined(_SYSTEM_WIN32_) && !defined(_IC_STATIC_)
00014 # pragma warning ( disable : 4251 )
00015
00016 # if defined ICL_CORE_DISPATCH_EXPORT_SYMBOLS
00017 # define ICL_CORE_DISPATCH_IMPORT_EXPORT __declspec(dllexport)
00018 # else
00019 # define ICL_CORE_DISPATCH_IMPORT_EXPORT __declspec(dllimport)
00020 # endif
00021
00022 #elif defined(__GNUC__) && (__GNUC__ > 3) && !defined(_IC_STATIC_)
00023
00024 # define ICL_CORE_DISPATCH_IMPORT_EXPORT __attribute__ ((visibility("default")))
00025
00026 #else
00027
00028 # define ICL_CORE_DISPATCH_IMPORT_EXPORT
00029
00030 #endif
00031
00032 #endif