00001 #ifndef ROS_CPP_COMMON_DECL_H_INCLUDED
00002 #define ROS_CPP_COMMON_DECL_H_INCLUDED
00003
00004 #include <ros/macros.h>
00005
00006 #ifdef ROS_BUILD_SHARED_LIBS // ros is being built around shared libraries
00007 #ifdef cpp_common_EXPORTS // we are building a shared lib/dll
00008 #define CPP_COMMON_DECL ROS_HELPER_EXPORT
00009 #else // we are using shared lib/dll
00010 #define CPP_COMMON_DECL ROS_HELPER_IMPORT
00011 #endif
00012 #else // ros is being built around static libraries
00013 #define CPP_COMMON_DECL
00014 #endif
00015
00016 #endif