libalvalue  2.0.6.8
/home/opennao/work/master/sdk/libnaoqi/libalvalue/alvalue/config.h
Go to the documentation of this file.
00001 
00012 #pragma once
00013 #ifndef _LIBALVALUE_ALVALUE_CONFIG_H_
00014 #define _LIBALVALUE_ALVALUE_CONFIG_H_
00015 
00016 // For shared library
00017 #if defined _WIN32 || defined __CYGWIN__
00018 #  define ALVALUE_EXPORT_API __declspec(dllexport)
00019 #  if defined _WINDLL
00020 #    define ALVALUE_IMPORT_API __declspec(dllimport)
00021 #  else
00022 #    define ALVALUE_IMPORT_API
00023 #  endif
00024 #elif __GNUC__ >= 4
00025 #  define ALVALUE_EXPORT_API __attribute__ ((visibility("default")))
00026 #  define ALVALUE_IMPORT_API __attribute__ ((visibility("default")))
00027 #else
00028 #  define ALVALUE_EXPORT_API
00029 #  define ALVALUE_IMPORT_API
00030 #endif
00031 
00032 #ifdef alvalue_EXPORTS
00033 # define ALVALUE_API ALVALUE_EXPORT_API
00034 #elif defined(alvalue_IMPORTS)
00035 # define ALVALUE_API ALVALUE_IMPORT_API
00036 #else
00037 # define ALVALUE_API
00038 #endif
00039 
00040 #endif  // _LIBALVALUE_ALVALUE_CONFIG_H_
00041 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines