Fix/force windows builds
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
2f0ab547ee
commit
f9acd503cc
5 changed files with 37 additions and 1 deletions
32
include/rack.hpp
Normal file
32
include/rack.hpp
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* DISTRHO Cardinal Plugin
|
||||
* Copyright (C) 2021 Filipe Coelho <falktx@falktx.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 3 of
|
||||
* the License, or any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* For a full copy of the GNU General Public License see the LICENSE file.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include_next "rack.hpp"
|
||||
|
||||
// If building for Windows, make sure to import the windows header now so we can undef some stuff
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
# undef IN
|
||||
# undef OUT
|
||||
# undef VOID
|
||||
# undef far
|
||||
# undef near
|
||||
# define ABC ABC_
|
||||
# define VOID VOID_
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue