Windows: Pull required declarations into roken.h.in

This commit is contained in:
Asanka Herath
2010-06-18 18:00:27 -04:00
parent 31b2dc9c48
commit 745d9bcae7

View File

@@ -125,6 +125,32 @@ typedef uint64_t u_int64_t;
#define UNREACHABLE(x) x #define UNREACHABLE(x) x
#define UNUSED_ARGUMENT(x) ((void) x) #define UNUSED_ARGUMENT(x) ((void) x)
#define RETSIGTYPE void
#define VOID_RETSIGTYPE 1
#ifdef VOID_RETSIGTYPE
#define SIGRETURN(x) return
#else
#define SIGRETURN(x) return (RETSIGTYPE)(x)
#endif
#ifndef CPP_ONLY
typedef int pid_t;
typedef unsigned int gid_t;
typedef unsigned int uid_t;
typedef unsigned short mode_t;
#endif
#ifndef __cplusplus
#define inline __inline
#endif
#else #else
#define UNREACHABLE(x) #define UNREACHABLE(x)