/*
- * File: dummy.cc
- * Purpose: See below
- * Author: Julian Smart
- * Created: 1993
- * Updated:
+ * File: dummy.cc
+ * Purpose: See below
+ * Author: Julian Smart
+ * Created: 1993
+ * Updated:
* Copyright: (c) 1993, AIAI, University of Edinburgh
*/
// Foils optimizations in Visual C++ (see also app.cpp). Without it,
// dummy.obj isn't linked and we get a linker error.
-#if defined(_MSC_VER)
+#if defined(__VISUALC__)
char wxDummyChar = 0;
#endif
#if !defined(APIENTRY)
#define APIENTRY FAR PASCAL
#endif
-
+
int
#ifdef __WATCOMC__
PASCAL
LPSTR m_lpCmdLine,
int nCmdShow )
{
+#if !WXUSINGDLL
wxCrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF);
+#endif
return wxEntry((WXHINSTANCE) hInstance, (WXHINSTANCE) hPrevInstance,
m_lpCmdLine, nCmdShow);