several mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -50,6 +50,24 @@
|
||||
#include "wx/msw/gnuwin32/extra.h"
|
||||
#endif
|
||||
|
||||
// some compilers headers don't define this one (mingw32)
|
||||
#ifndef DMLERR_NO_ERROR
|
||||
#define DMLERR_NO_ERROR (0)
|
||||
|
||||
// this one is also missing from some mingw32 headers, but there is no way
|
||||
// to test for it (I know of) - the test for DMLERR_NO_ERROR works for me,
|
||||
// but is surely not the right thing to do
|
||||
extern "C"
|
||||
HDDEDATA STDCALL DdeClientTransaction(LPBYTE pData,
|
||||
DWORD cbData,
|
||||
HCONV hConv,
|
||||
HSZ hszItem,
|
||||
UINT wFmt,
|
||||
UINT wType,
|
||||
DWORD dwTimeout,
|
||||
LPDWORD pdwResult);
|
||||
#endif // no DMLERR_NO_ERROR
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// macros and constants
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user