rtt-corba-config.h

00001 #ifndef RTT_CORBA_CONFIG_H
00002 #define RTT_CORBA_CONFIG_H
00003 
00004 #define RTT_CORBA_IMPLEMENTATION TAO
00005 
00006 #define CORBA_IS_TAO 1
00007 /* #undef CORBA_IS_OMNIORB */
00008 
00009 #if !defined( CORBA_IS_TAO ) && !defined( CORBA_IS_OMNIORB )
00010 #  error "Configuration error: neither CORBA_IS_TAO nor CORBA_IS_OMNIORB is defined in rtt-corba-config.h"
00011 #endif
00012 
00013 #define CORBA_TAO_HAS_MESSAGING
00014 
00015 //
00016 // See: <http://gcc.gnu.org/wiki/Visibility>
00017 //
00018 #define RTT_GCC_HASVISIBILITY
00019 #if defined(__GNUG__) && defined(__unix__) && defined(RTT_GCC_HASVISIBILITY)
00020 
00021 # if defined(RTT_CORBA_DLL_EXPORT)
00022    // Use RTT_CORBA_API for normal function exporting
00023 #  define RTT_CORBA_API    __attribute__((visibility("default")))
00024 
00025    // Use RTT_CORBA_EXPORT for static template class member variables
00026    // They must always be 'globally' visible.
00027 #  define RTT_CORBA_EXPORT __attribute__((visibility("default")))
00028 
00029    // Use RTT_CORBA_HIDE to explicitly hide a symbol
00030 #  define RTT_CORBA_HIDE   __attribute__((visibility("hidden")))
00031 
00032 # else
00033 #  define RTT_CORBA_API
00034 #  define RTT_CORBA_EXPORT __attribute__((visibility("default")))
00035 #  define RTT_CORBA_HIDE   __attribute__((visibility("hidden")))
00036 # endif
00037 #else
00038    // NOT GNU
00039 # if defined( __MINGW__ ) || defined( WIN32 )
00040 #  if defined(RTT_CORBA_DLL_EXPORT)
00041 #   define RTT_CORBA_API    __declspec(dllexport)
00042 #   define RTT_CORBA_EXPORT __declspec(dllexport)
00043 #   define RTT_CORBA_HIDE   
00044 #  else
00045 #   define RTT_CORBA_API     __declspec(dllimport)
00046 #   define RTT_CORBA_EXPORT __declspec(dllimport)
00047 #   define RTT_CORBA_HIDE 
00048 #  endif
00049 # else
00050 #  define RTT_CORBA_API
00051 #  define RTT_CORBA_EXPORT
00052 #  define RTT_CORBA_HIDE
00053 # endif
00054 #endif
00055 
00056 #endif
00057 
Generated on Thu Dec 23 13:22:37 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3