From 928c0046c2d42263a370ec335d322508ea5cabb1 Mon Sep 17 00:00:00 2001 From: Morgon Kanter Date: Mon, 17 Apr 2023 00:29:49 -0400 Subject: [PATCH] Update src/common/globals.h Use a #ifndef/#define/#endif trio --- src/common/globals.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/globals.h b/src/common/globals.h index cd5bd556f9e..ea4f8c9eb06 100644 --- a/src/common/globals.h +++ b/src/common/globals.h @@ -60,7 +60,9 @@ static inline int _stricmp(const char *s1, const char *s2) { return strcasecmp(s #error You must compile with -DSURGE_COMPILE_BLOCK_SIZE=32 (or whatnot) #endif +#ifndef SURGE_HAS_OSC #define SURGE_HAS_OSC 1 +#endif const int BASE_WINDOW_SIZE_X = 913; const int BASE_WINDOW_SIZE_Y = 569;