mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 02:30:54 +00:00
change __WIN32 to WIN32 (oops)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
///
|
||||
|
||||
#pragma once
|
||||
#ifdef __WIN32
|
||||
#ifdef WIN32
|
||||
#include <WS2tcpip.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* Define WIN32 when build target is Win32 API
|
||||
*/
|
||||
|
||||
#if (defined(_WIN32) || defined(__WIN32__)) && \
|
||||
#if (defined(_WIN32) || defined(WIN32__)) && \
|
||||
!defined(WIN32) && !defined(__SYMBIAN32__)
|
||||
#define WIN32
|
||||
#endif
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
// This header defines unix equivalents of common win32 functions.
|
||||
|
||||
#ifndef __WIN32
|
||||
#ifndef WIN32
|
||||
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
@@ -27,4 +27,4 @@ inline void closesocket(int socket) {
|
||||
#define __except(x) /**/
|
||||
#endif
|
||||
|
||||
#endif // __WIN32
|
||||
#endif // WIN32
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
#if defined(_WINDOWS) && !defined(WINDOWS)
|
||||
# define WINDOWS
|
||||
#endif
|
||||
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
|
||||
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(WIN32__)
|
||||
# ifndef WIN32
|
||||
# define WIN32
|
||||
# endif
|
||||
|
||||
@@ -133,7 +133,7 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
|
||||
#if defined(MACOS) || defined(TARGET_OS_MAC)
|
||||
# define OS_CODE 7
|
||||
# ifndef Z_SOLO
|
||||
# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
|
||||
# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != WIN32_os
|
||||
# include <unix.h> /* for fdopen */
|
||||
# else
|
||||
# ifndef fdopen
|
||||
|
||||
Reference in New Issue
Block a user