Some BC++ 4.5 and other compile fixes; changed FAR definition to WXFAR

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-02-06 11:48:14 +00:00
parent 0bd62129f6
commit 790ad94f70
9 changed files with 34 additions and 12 deletions

View File

@@ -1817,17 +1817,16 @@ typedef WXHWND WXWidget;
#endif
// the keywords needed for WinMain() declaration
#ifdef __WIN16__
#ifndef FAR
#ifdef __VISUALC__
#define FAR __far
#define WXFAR __far
#else // !VC++
#define FAR _far
#define WXFAR _far
#endif
#endif // no FAR
#else // Win32
#ifndef FAR
#define FAR
#ifndef WXFAR
#define WXFAR
#endif
#endif // Win16/32