Fixed configure/linkage for non-threaded case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,10 +13,6 @@
|
||||
#ifndef __THREADH__
|
||||
#define __THREADH__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "thread.h"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// headers
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -25,6 +21,10 @@
|
||||
#include "wx/setup.h"
|
||||
|
||||
#if wxUSE_THREADS
|
||||
/* otherwise we get undefined references for non-thread case (KB)*/
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "thread.h"
|
||||
#endif
|
||||
|
||||
// Windows headers define it
|
||||
#ifdef Yield
|
||||
|
Reference in New Issue
Block a user