/builddir/build/BUILD/infinispan-hotrod-cpp-6.2.1.Final-Source/include/infinispan/hotrod/ImportExport.h

Go to the documentation of this file.
00001 #ifndef HOTROD_IMPORT_EXPORT_H
00002 #define HOTROD_IMPORT_EXPORT_H 1
00003 
00004 //
00005 // Compiler specific mechanisms for managing the import and export of
00006 // symbols between shared objects.
00007 //
00008 // HR_EXPORT         - Export declaration
00009 // HR_IMPORT         - Import declaration
00010 //
00011 
00012 #if !defined(HOTROD_DECLARE_STATIC)
00013   #if defined(WIN32) || defined(_WIN32)
00014     #define HR_EXPORT __declspec(dllexport)
00015     #define HR_IMPORT __declspec(dllimport)
00016   #else
00017     #if __GNUC__ >= 4
00018       #define HR_EXPORT __attribute__ ((visibility ("default")))
00019       #define HR_IMPORT __attribute__ ((visibility ("default")))
00020     #endif
00021   #endif
00022 #endif
00023 
00024 #if !defined(HR_EXPORT)
00025   // default values
00026   #define HR_EXPORT
00027   #define HR_IMPORT
00028 #endif
00029 
00030 
00031 // value of xxx_EXPORTS is set by CMake
00032 #ifdef hotrod_EXPORTS
00033   #define HR_EXTERN HR_EXPORT
00034 #else
00035   #define HR_EXTERN HR_IMPORT
00036 #endif
00037 
00038 #endif /* import_export.h */

Generated on 25 Mar 2015 for JBoss Data Grid HotRod C++ Client by  doxygen 1.4.7