Browse Source

Fix msvc win32 build

Signed-off-by: falkTX <falktx@falktx.com>
pull/409/head
falkTX 3 years ago
parent
commit
8e6998eb58
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      distrho/src/DistrhoPluginVST2.cpp

+ 7
- 1
distrho/src/DistrhoPluginVST2.cpp View File

@@ -30,7 +30,13 @@
#include <string>
#include <vector>

#ifndef __stdcall
#if defined(DISTRHO_OS_WINDOWS)
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <winsock2.h>
# include <windows.h>
#elif !defined(__stdcall)
# define __stdcall
#endif



Loading…
Cancel
Save