From 0e9eb80c39dfb7b0295d07d65169565582449247 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 12 Apr 2010 11:21:45 +0000 Subject: [PATCH] Fix gcc warnings about testing undefined preprocessor symbol. Use #ifdef instead of #if to test for __WXPALMOS[56]__. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/widgets/widgets.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/widgets/widgets.cpp b/samples/widgets/widgets.cpp index eeb9041ff7..3e3b2b23af 100644 --- a/samples/widgets/widgets.cpp +++ b/samples/widgets/widgets.cpp @@ -337,9 +337,9 @@ bool WidgetsApp::OnInit() title += wxT("wxMAC"); #elif defined(__WXMOTIF__) title += wxT("wxMOTIF"); -#elif __WXPALMOS5__ +#elif defined(__WXPALMOS5__) title += wxT("wxPALMOS5"); -#elif __WXPALMOS6__ +#elif defined(__WXPALMOS6__) title += wxT("wxPALMOS6"); #else title += wxT("wxWidgets"); -- 2.50.0