From e96bb6144b08ae3202f897439cd303fb5232a082 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 26 Oct 2015 17:00:06 -0400 Subject: [PATCH] Be able to control `WINDOWS_UI` programatically. --- Source/Project64/User Interface.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Project64/User Interface.h b/Source/Project64/User Interface.h index 8b17aa2c1..a227f4cfd 100644 --- a/Source/Project64/User Interface.h +++ b/Source/Project64/User Interface.h @@ -44,8 +44,10 @@ struct WINDOWS_PAINTSTRUCT { class CN64System; +#ifndef BYPASS_WINDOWS_GUI #define WINDOWS_UI // Remove this to test compilation outside of the Windows ATL environment. +#endif #ifdef WINDOWS_UI #include