Browse Source

Avoid VOID name conflict with Windows headers

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
4ec34e1f80
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      include/helpers.hpp

+ 3
- 0
include/helpers.hpp View File

@@ -119,3 +119,6 @@ CardinalPluginModel<TModule, TModuleWidget>* createModel(std::string slug)
#define createModel createModelOldVCV #define createModel createModelOldVCV
#include_next "helpers.hpp" #include_next "helpers.hpp"
#undef createModel #undef createModel

// this is defined by Windows headers, conflicts with Bidoo VOID module name
#undef VOID

Loading…
Cancel
Save