mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +02:00
Always define NOMINMAX and friends globally
Repeating this every time is worse than defining them in the compiler command line.
This commit is contained in:
@@ -18,11 +18,6 @@
|
||||
|
||||
#include "../boost-fix.h"
|
||||
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#define __WINE_WINSOCKAPI_STDLIB_H
|
||||
#define _WINSOCKAPI_
|
||||
#endif
|
||||
#include <vestige/aeffectx.h>
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
@@ -20,11 +20,6 @@
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#define __WINE_WINSOCKAPI_STDLIB_H
|
||||
#define _WINSOCKAPI_
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include <function2/function2.hpp>
|
||||
|
||||
|
||||
@@ -23,13 +23,7 @@
|
||||
#include <optional>
|
||||
#include <set>
|
||||
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#define __WINE_WINSOCKAPI_STDLIB_H
|
||||
#define _WINSOCKAPI_
|
||||
#endif
|
||||
#include <windows.h>
|
||||
|
||||
#include <boost/asio/dispatch.hpp>
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <function2/function2.hpp>
|
||||
|
||||
Reference in New Issue
Block a user