Minor preprocessor adjustment in ZeroTierSockets.h

This commit is contained in:
Joseph Henry
2021-01-05 10:00:48 -08:00
parent 4122110cea
commit 6447b35b3f

View File

@@ -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