14 lines
232 B
C++
14 lines
232 B
C++
#pragma once
|
|
|
|
#ifdef _WIN32
|
|
#include <winsock2.h>
|
|
#include <windows.h>
|
|
#elif __linux__
|
|
#include <errno.h>
|
|
#define SOCKET std::int32_t
|
|
#define INVALID_SOCKET -1
|
|
#else
|
|
#error "이 플랫폼은 지원되지 않습니다."
|
|
#endif
|
|
|
|
#include <gsl/gsl> |