Browse Source

set NOMINMAX for utils windows include

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.5
falkTX 2 years ago
parent
commit
9200c10135
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      source/utils/CarlaUtils.hpp

+ 3
- 0
source/utils/CarlaUtils.hpp View File

@@ -34,6 +34,9 @@
#endif #endif


#ifdef CARLA_OS_WIN #ifdef CARLA_OS_WIN
# ifndef NOMINMAX
# define NOMINMAX
# endif
# define WIN32_LEAN_AND_MEAN 1 # define WIN32_LEAN_AND_MEAN 1
# include <winsock2.h> # include <winsock2.h>
# include <windows.h> # include <windows.h>


Loading…
Cancel
Save