]> granicus.if.org Git - graphviz/commitdiff
Windows unistd.h shim: remove stdint.h types
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 6 Mar 2022 00:11:09 +0000 (16:11 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 6 Mar 2022 19:09:24 +0000 (11:09 -0800)
MSVC, like every other C99 compliant platform, defines these in stdint.h.

windows/include/unistd.h

index e4aee983407b81113de345bdfc6bd3ad88a2422d..83e9d37feb5ce25331927f42305493f8476a051e 100644 (file)
 #define STDIN_FILENO 0
 #define STDOUT_FILENO 1
 #define STDERR_FILENO 2
-/* should be in some equivalent to <sys/types.h> */
-typedef __int8            int8_t;
-typedef __int16           int16_t; 
-typedef __int32           int32_t;
-typedef __int64           int64_t;
-typedef unsigned __int8   uint8_t;
-typedef unsigned __int16  uint16_t;
-typedef unsigned __int32  uint32_t;
-typedef unsigned __int64  uint64_t;
 
 #endif /* unistd.h  */