From 6bb9080017da40941798ac3290e04d87d6ab49d6 Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 6 Oct 2005 08:25:14 +0000 Subject: [PATCH] MSVC fixes. Frederic: MSVC has no ssize_t type --- simgear/io/sg_file.cxx | 1 + simgear/misc/stdint.hxx | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.39.5