00001 #ifndef OCL_CONFIG_H
00002 #define OCL_CONFIG_H
00003
00004 #define OCL_VERSION 2.4.0
00005 #define OCL_VERSION_MAJOR 2
00006 #define OCL_VERSION_MINOR 4
00007 #define OCL_VERSION_PATCH 0
00008
00009 #include <rtt/rtt-config.h>
00010
00011 #if defined(__GNUG__) && (defined(__unix__) || defined(__APPLE__))
00012
00013 # if defined(OCL_DLL_EXPORT)
00014
00015 # define OCL_API __attribute__((visibility("default")))
00016
00017
00018
00019 # define OCL_EXPORT __attribute__((visibility("default")))
00020
00021
00022 # define OCL_HIDE __attribute__((visibility("hidden")))
00023
00024 # else
00025 # define OCL_API
00026 # define OCL_EXPORT __attribute__((visibility("default")))
00027 # define OCL_HIDE __attribute__((visibility("hidden")))
00028 # endif
00029 #else
00030
00031 # if defined( WIN32 ) && !defined ( __MINGW32__ )
00032 # if defined(OCL_DLL_EXPORT)
00033 # define OCL_API __declspec(dllexport)
00034 # define OCL_EXPORT __declspec(dllexport)
00035 # define OCL_HIDE
00036 # else
00037 # define OCL_API __declspec(dllimport)
00038 # define OCL_EXPORT __declspec(dllexport)
00039 # define OCL_HIDE
00040 # endif
00041 # else
00042 # define OCL_API
00043 # define OCL_EXPORT
00044 # define OCL_HIDE
00045 # endif
00046 #endif
00047
00048 #endif // OCL_CONFIG_H