Minor preprocessor adjustment in ZeroTierSockets.h
This commit is contained in:
@@ -17,13 +17,13 @@
|
|||||||
* This defines the external C API for ZeroTier Sockets
|
* This defines the external C API for ZeroTier Sockets
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef ZT_SOCKETS_H
|
||||||
|
#define ZT_SOCKETS_H
|
||||||
|
|
||||||
#if !ZTS_NO_STDINT_H
|
#if !ZTS_NO_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef ZT_SOCKETS_H
|
|
||||||
#define ZT_SOCKETS_H
|
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#ifndef ssize_t
|
#ifndef ssize_t
|
||||||
// TODO: Should be SSIZE_T, would require lwIP patch
|
// TODO: Should be SSIZE_T, would require lwIP patch
|
||||||
|
|||||||
Reference in New Issue
Block a user