From: ehofman Date: Thu, 6 Oct 2005 08:25:14 +0000 (+0000) Subject: MSVC fixes. Frederic: MSVC has no ssize_t type X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6bb9080017da40941798ac3290e04d87d6ab49d6;p=simgear.git MSVC fixes. Frederic: MSVC has no ssize_t type --- diff --git a/simgear/io/sg_file.cxx b/simgear/io/sg_file.cxx index 0caf3f4a..dace6454 100644 --- a/simgear/io/sg_file.cxx +++ b/simgear/io/sg_file.cxx @@ -29,6 +29,7 @@ # include #endif +#include #include #include "sg_file.hxx" diff --git a/simgear/misc/stdint.hxx b/simgear/misc/stdint.hxx index 75742d0c..90d52a93 100644 --- a/simgear/misc/stdint.hxx +++ b/simgear/misc/stdint.hxx @@ -56,6 +56,8 @@ typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned __int64 uint64_t; + +typedef int ssize_t; #elif defined(sgi) # include #else