diff --git a/setup.h.in b/setup.h.in index 4f9f5faef2..79bc5c8ae7 100644 --- a/setup.h.in +++ b/setup.h.in @@ -208,7 +208,9 @@ /* * Use GUI */ +#ifndef wxUSE_GUI #define wxUSE_GUI 0 +#endif /* * Don't use GUI (defined to 1 when compiling/using base only) */