00001 #ifndef RTT_CORBA_CONFIG_H
00002 #define RTT_CORBA_CONFIG_H
00003
00004 #include "../../rtt-config.h"
00005
00006 #define RTT_CORBA_IMPLEMENTATION OMNIORB
00007
00008
00009 #define CORBA_IS_OMNIORB 1
00010
00011 #if !defined( CORBA_IS_TAO ) && !defined( CORBA_IS_OMNIORB )
00012 # error "Configuration error: neither CORBA_IS_TAO nor CORBA_IS_OMNIORB is defined in rtt-corba-config.h"
00013 #endif
00014
00015
00016
00017
00018
00019
00020 #define RTT_GCC_HASVISIBILITY
00021 #if defined(__GNUG__) && defined(RTT_GCC_HASVISIBILITY) && (defined(__unix__) || defined(__APPLE__))
00022
00023 # if defined(RTT_CORBA_DLL_EXPORT)
00024
00025 # define RTT_CORBA_API __attribute__((visibility("default")))
00026
00027
00028
00029 # define RTT_CORBA_EXPORT __attribute__((visibility("default")))
00030
00031
00032 # define RTT_CORBA_HIDE __attribute__((visibility("hidden")))
00033
00034 # else
00035 # define RTT_CORBA_API
00036 # define RTT_CORBA_EXPORT __attribute__((visibility("default")))
00037 # define RTT_CORBA_HIDE __attribute__((visibility("hidden")))
00038 # endif
00039 #else
00040
00041 # if defined( __MINGW__ ) || defined( WIN32 )
00042 # if defined(RTT_CORBA_DLL_EXPORT)
00043 # define RTT_CORBA_API __declspec(dllexport)
00044 # define RTT_CORBA_EXPORT __declspec(dllexport)
00045 # define RTT_CORBA_HIDE
00046 # else
00047 # define RTT_CORBA_API __declspec(dllimport)
00048 # define RTT_CORBA_EXPORT __declspec(dllexport)
00049 # define RTT_CORBA_HIDE
00050 # endif
00051 # else
00052 # define RTT_CORBA_API
00053 # define RTT_CORBA_EXPORT
00054 # define RTT_CORBA_HIDE
00055 # endif
00056 #endif
00057
00058 #endif
00059