ISIS Core Library 0.7.2 (api 3.0.0)

/scr/tee1/isis/lib/Core/config.hpp

Go to the documentation of this file.
00001 #ifndef CORE_CONFIG_HPP
00002 #define CORE_CONFIG_HPP
00003 
00004 #ifdef WIN32
00005 #define API_EXCLUDE_BEGIN
00006 #define API_EXCLUDE_END
00007 #else
00008 #define API_EXCLUDE_BEGIN _Pragma("GCC visibility push(hidden)")
00009 #define API_EXCLUDE_END   _Pragma("GCC visibility pop")
00010 #endif
00011 
00012 #ifdef _MSC_VER
00013 typedef boost::int8_t   int8_t;
00014 typedef boost::int16_t  int16_t;
00015 typedef boost::int32_t  int32_t;
00016 typedef boost::uint8_t  uint8_t;
00017 typedef boost::uint16_t uint16_t;
00018 typedef boost::uint32_t uint32_t;
00019 typedef boost::int64_t  int64_t;
00020 typedef boost::uint64_t uint64_t;
00021 
00022 namespace isis
00023 {
00024 // dear microsoft, if I 'ld mean "boost::mpl::size_t", I 'ld write "boost::mpl::size_t" *argl*
00025 typedef ::size_t size_t;
00026 }
00027 #else
00028 #include <stdint.h>
00029 #endif
00030 
00031 #endif //CORE_CONFIG_HPP