Skip to content

Commit

Permalink
Undef 'small' macro on Windows to avoid compilation error with JUCE 8…
Browse files Browse the repository at this point in the history
….0.1
  • Loading branch information
gvnnz committed Aug 23, 2024
1 parent 53ba058 commit 5161071
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/plugins/pluginHost.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@
#ifndef G_PLUGIN_HOST_H
#define G_PLUGIN_HOST_H

#include "core/const.h"
#include "core/types.h"
#include <functional>
/* windows.h, included somewhere, defines 'small' as a macro and it clashes with
some enum defined in the JUCE GUI module. */
#ifdef G_OS_WINDOWS
#undef small
#endif
#include <juce_audio_basics/juce_audio_basics.h>
#include <juce_gui_basics/juce_gui_basics.h>
#include <memory>
Expand Down

0 comments on commit 5161071

Please sign in to comment.