Back to index

lightning-sunbird  0.9+nobinonly
stdafx.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: Mozilla-sample-code 1.0
00004  *
00005  * Copyright (c) 2002 Netscape Communications Corporation and
00006  * other contributors
00007  *
00008  * Permission is hereby granted, free of charge, to any person obtaining a
00009  * copy of this Mozilla sample software and associated documentation files
00010  * (the "Software"), to deal in the Software without restriction, including
00011  * without limitation the rights to use, copy, modify, merge, publish,
00012  * distribute, sublicense, and/or sell copies of the Software, and to permit
00013  * persons to whom the Software is furnished to do so, subject to the
00014  * following conditions:
00015  *
00016  * The above copyright notice and this permission notice shall be included
00017  * in all copies or substantial portions of the Software.
00018  *
00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00020  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00021  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
00022  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
00023  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
00024  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
00025  * DEALINGS IN THE SOFTWARE.
00026  *
00027  * Contributor(s):
00028  *   Chak Nanga <chak@netscape.com>
00029  *
00030  * ***** END LICENSE BLOCK ***** */
00031 
00032 // stdafx.h : include file for standard system include files,
00033 //  or project specific include files that are used frequently, but
00034 //      are changed infrequently
00035 //
00036 
00037 #ifndef _STDAFX_H
00038 #define _STDAFX_H
00039 
00040 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
00041 
00042 //
00043 // These headers are very evil, as they will define DEBUG if _DEBUG is
00044 //  defined, which is lame and not what we want for things like
00045 //  MOZ_TRACE_MALLOC and other tools.
00046 // If we do not detect this, various MOZ/NS debug symbols are undefined
00047 //  and we can not build.
00048 // /MDd defines _DEBUG automagically to have the right debug C LIB
00049 //  functions get called (so we can get symbols and hook into malloc).
00050 //
00051 #if !defined(DEBUG)
00052 #define THERECANBENODEBUG
00053 #endif
00054 
00055 #include <afxwin.h>         // MFC core and standard components
00056 #include <afxext.h>         // MFC extensions
00057 #include <afxdtctl.h>              // MFC support for Internet Explorer 4 Common Controls
00058 #include <afxpriv.h>        // Needed for MFC MBCS/Unicode Conversion Macros
00059 #ifndef _AFX_NO_AFXCMN_SUPPORT
00060 #include <afxcmn.h>                // MFC support for Windows Common Controls
00061 #endif // _AFX_NO_AFXCMN_SUPPORT
00062 
00063 //{{AFX_INSERT_LOCATION}}
00064 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00065 
00066 #if defined(THERECANBENODEBUG) && defined(DEBUG)
00067 #undef DEBUG
00068 #endif
00069 
00070 #endif //_STDAFX_H