]> git.mxchange.org Git - simgear.git/commitdiff
MSVC fixes. Frederic: MSVC has no ssize_t type
authorehofman <ehofman>
Thu, 6 Oct 2005 08:25:14 +0000 (08:25 +0000)
committerehofman <ehofman>
Thu, 6 Oct 2005 08:25:14 +0000 (08:25 +0000)
simgear/io/sg_file.cxx
simgear/misc/stdint.hxx

index 0caf3f4a44357152ecdcc75ec275eef32f91c0c7..dace6454060c5e7bad2b100587f0ef2e6e3f84ab 100644 (file)
@@ -29,6 +29,7 @@
 #  include <io.h>
 #endif
 
+#include <simgear/misc/stdint.hxx>
 #include <simgear/debug/logstream.hxx>
 
 #include "sg_file.hxx"
index 75742d0c305d9fb5b20f9608dae1e158298a471f..90d52a93f7f03c6155b5975366512c38e8534558 100644 (file)
@@ -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 <sys/types.h>
 #else