mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00
Add ssize_t to rosdhcp.h, as ms crt headers (and so our future crt headers) don't define it.
svn path=/trunk/; revision=38276
This commit is contained in:
parent
5a52daeb1b
commit
79f756b317
1 changed files with 14 additions and 0 deletions
|
@ -28,6 +28,20 @@
|
||||||
#define _PATH_DHCLIENT_PID "\\systemroot\\system32\\drivers\\etc\\dhclient.pid"
|
#define _PATH_DHCLIENT_PID "\\systemroot\\system32\\drivers\\etc\\dhclient.pid"
|
||||||
typedef void *VOIDPTR;
|
typedef void *VOIDPTR;
|
||||||
|
|
||||||
|
#ifndef _SSIZE_T_DEFINED
|
||||||
|
#define _SSIZE_T_DEFINED
|
||||||
|
#undef ssize_t
|
||||||
|
#ifdef _WIN64
|
||||||
|
#if defined(__GNUC__) && defined(__STRICT_ANSI__)
|
||||||
|
typedef int ssize_t __attribute__ ((mode (DI)));
|
||||||
|
#else
|
||||||
|
typedef __int64 ssize_t;
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
typedef int ssize_t;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef u_int32_t uintTIME;
|
typedef u_int32_t uintTIME;
|
||||||
#define TIME uintTIME
|
#define TIME uintTIME
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
|
|
Loading…
Reference in a new issue