Windows: Pull required declarations into roken.h.in
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user