From 4d33750137c7d58641c927f78edaf922f83b09ae Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Feb 2016 17:11:27 +0100 Subject: [PATCH] Make it possible to include wx/base64.h as the first header Include wx/defs.h before testing for wxUSE_BASE64, otherwise the test would always fail if wx/base64.h is the first wx header to be included. --- include/wx/base64.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/base64.h b/include/wx/base64.h index 96c6dd80ef..14aaf7d83f 100644 --- a/include/wx/base64.h +++ b/include/wx/base64.h @@ -9,6 +9,8 @@ #ifndef _WX_BASE64_H_ #define _WX_BASE64_H_ +#include "wx/defs.h" + #if wxUSE_BASE64 #include "wx/string.h"