TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/common/system/compatibility.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_COMMON_SYSTEM_COMPATIBILITY_HPP_
00002 #define _TUTTLE_COMMON_SYSTEM_COMPATIBILITY_HPP_
00003 
00004 #include <cstddef>
00005 
00006 #ifdef _MSC_VER
00007 #include <BaseTsd.h>
00008 #else
00009 #include <unistd.h>
00010 #endif
00011 
00012 // compatibility problems...
00013 namespace std {
00014 #ifdef _MSC_VER
00015         typedef SSIZE_T ssize_t;
00016 #else
00017         typedef ::ssize_t ssize_t;
00018 #endif
00019 }
00020 
00021 
00022 #endif
00023