include
ecl
config
windows.hpp
Go to the documentation of this file.
1
8
/*****************************************************************************
9
** Ifdefs
10
*****************************************************************************/
11
12
#ifndef ECL_CONFIG_WINDOWS_HPP_
13
#define ECL_CONFIG_WINDOWS_HPP_
14
15
/*****************************************************************************
16
** Win32
17
*****************************************************************************/
18
19
#include <ecl/config/ecl.hpp>
20
21
#if defined(ECL_IS_WIN32)
22
#define _WINSOCKAPI_ // stops windows.h including winsock.h (we use winsock2)
23
#include <windows.h>
24
#ifdef min
25
#undef min
26
#endif
27
#ifdef max
28
#undef max
29
#endif
30
31
#ifdef _MSC_VER
32
#pragma warning(disable: 4251) // Disable warnings about import/exports when deriving from std classes
33
#pragma warning(disable: 4275) // ""
34
#pragma warning (disable:4996) // Disable warnings about deprecated ctime
35
#pragma warning (disable:4290) // Disable warnings about unsupported c++ exception specifications
36
#endif
37
#endif
38
39
#endif
/* ECL_CONFIG_WINDOWS_HPP_ */
ecl_config
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:13:53