IMPLEMENT_APP() macro so dummy.obj doesn't have to be linked; lexer.l fix for LEX (I hope) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
26 lines
600 B
C++
26 lines
600 B
C++
/*
|
|
* File: dummydll.cc
|
|
* Purpose:
|
|
* Author: Julian Smart
|
|
* Created: 1993
|
|
* Updated:
|
|
* Copyright: (c) 1993, AIAI, University of Edinburgh
|
|
*/
|
|
|
|
/* static const char sccsid[] = "@(#)dummydll.cc 1.2 5/9/94"; */
|
|
|
|
/*
|
|
* A dummy file to include wx.h. If precompiling wx.h, I
|
|
* always start by compiling this and producing the PCH file.
|
|
* Then subsequent source files use the PCH file.
|
|
*/
|
|
|
|
#include "wx/wxprec.h"
|
|
|
|
// Foils optimizations in Visual C++ (see also app.cpp). Without it,
|
|
// dummy.obj isn't linked and we get a linker error.
|
|
#if defined(__VISUALC__)
|
|
char wxDummyChar=0;
|
|
#endif
|
|
|