00001 #ifndef HOTROD_IMPORT_EXPORT_H
00002 #define HOTROD_IMPORT_EXPORT_H 1
00003
00004
00005
00006
00007
00008
00009
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
00026 #define HR_EXPORT
00027 #define HR_IMPORT
00028 #endif
00029
00030
00031
00032 #ifdef hotrod_EXPORTS
00033 #define HR_EXTERN HR_EXPORT
00034 #else
00035 #define HR_EXTERN HR_IMPORT
00036 #endif
00037
00038 #endif