From ec6146c7a6388616d033ea05b08aa9c47ef2cd7c Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 2 Mar 2007 03:06:52 +0000 Subject: [PATCH] wxRunningEventLoopCount is only defined when wxUSE_THREADS==1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/evtloopcmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/evtloopcmn.cpp b/src/common/evtloopcmn.cpp index d04d05383f..bc4e88ef0f 100644 --- a/src/common/evtloopcmn.cpp +++ b/src/common/evtloopcmn.cpp @@ -32,7 +32,7 @@ // see the comment near the declaration of wxRunningEventLoopCount in // src/msw/thread.cpp for the explanation of this hack -#ifdef __WXMSW__ +#if defined(__WXMSW__) && wxUSE_THREADS extern WXDLLIMPEXP_DATA_BASE(int) wxRunningEventLoopCount; struct wxRunningEventLoopCounter