// Copyright (C) 2021 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_NETWORK_SOCKETHANDLE_HPP #define NAZARA_NETWORK_SOCKETHANDLE_HPP #include #if defined(NAZARA_PLATFORM_WINDOWS) #include #endif namespace Nz { #if defined(NAZARA_PLATFORM_WINDOWS) using SocketHandle = UINT_PTR; #elif defined(NAZARA_PLATFORM_POSIX) using SocketHandle = int; #else #error Lack of implementation: SocketHandle #endif } #endif // NAZARA_NETWORK_SOCKETHANDLE_HPP