mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-03-04 03:07:29 +01:00
Avoid generic names.
This commit is contained in:
parent
b0e7c305b6
commit
935ae53855
@ -49,11 +49,6 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C"
|
|
||||||
{
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/* */
|
/* */
|
||||||
/* OS Identification */
|
/* OS Identification */
|
||||||
@ -78,7 +73,7 @@ extern "C"
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_LINUX) || defined(_DARWIN)
|
#if defined(_LINUX) || defined(_DARWIN)
|
||||||
typedef int SOCKET;
|
typedef int SOCKET;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
@ -215,8 +210,4 @@ extern "C"
|
|||||||
#define FPRINTF fprintf
|
#define FPRINTF fprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __HOST_H__ */
|
#endif /* __HOST_H__ */
|
@ -85,7 +85,7 @@
|
|||||||
#define IPTOS_LOWDELAY 0x10
|
#define IPTOS_LOWDELAY 0x10
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#include "Host.h"
|
#include "HostConf.h"
|
||||||
#include "StatTimer.h"
|
#include "StatTimer.h"
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "Host.h"
|
#include "HostConf.h"
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#define GET_CLOCK_COUNT(x) QueryPerformanceCounter((LARGE_INTEGER *)x)
|
#define GET_CLOCK_COUNT(x) QueryPerformanceCounter((LARGE_INTEGER *)x)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user