Adding included guards to make compilation a tad faster
This commit is contained in:
Родитель
4979a8291f
Коммит
df0680bfe1
|
@ -16,6 +16,9 @@
|
|||
* Reserved.
|
||||
*/
|
||||
|
||||
#ifndef DefinesMac_h_
|
||||
#define DefinesMac_h_
|
||||
|
||||
/*
|
||||
This is a common prefix file, included for both projects like
|
||||
NSStdLib and Mozilla.
|
||||
|
@ -57,3 +60,4 @@
|
|||
#define _PR_NO_PREEMPT 1
|
||||
///#define HAVE_BOOLEAN 1 // used by JPEG lib
|
||||
|
||||
#endif /* DefinesMac_h_ */
|
||||
|
|
|
@ -16,17 +16,20 @@
|
|||
* Reserved.
|
||||
*/
|
||||
|
||||
// ——— Security
|
||||
#ifndef DefinesMozilla_h_
|
||||
#define DefinesMozilla_h_
|
||||
|
||||
// *** Security
|
||||
//#define NADA_VERSION
|
||||
//#define EXPORT_VERSION
|
||||
#define US_VERSION
|
||||
|
||||
// ——— Misc
|
||||
// *** Misc
|
||||
//#define NO_DBM // define this to kill DBM
|
||||
#define NEW_BOOKMARKS
|
||||
//#define NEW_BOOKMARKS
|
||||
// Enables us to switch profiling from project preferences
|
||||
|
||||
// ——— Version
|
||||
// *** Version
|
||||
//#define ALPHA
|
||||
//#define BETA
|
||||
// Comment out both ALPHA and BETA for the final version
|
||||
|
@ -37,16 +40,16 @@
|
|||
#define ClientWallet 1
|
||||
|
||||
// 98-07-29 pinkerton -- defines to turn on feature. REMOVE WHEN THIS LANDS.
|
||||
#define PRIVACY_POLICIES 1
|
||||
//#define PRIVACY_POLICIES 1
|
||||
|
||||
// 98-08-10 joe -- temporary item to turn on ENDER (html textareas) before it fully lands
|
||||
#define ENDER 1
|
||||
//#define ENDER 1
|
||||
|
||||
// 98-09-25 mlm - turn on javascript thread safety
|
||||
#define JS_THREADSAFE 1
|
||||
|
||||
// 98-10-14 joe -- temporary item to turn on ENDER MIME support before it fully lands
|
||||
#define MOZ_ENDER_MIME 1
|
||||
//#define MOZ_ENDER_MIME 1
|
||||
|
||||
#define USE_NSREG 1
|
||||
|
||||
|
@ -56,9 +59,9 @@
|
|||
// External DTD support for XML
|
||||
#define XML_DTD
|
||||
|
||||
// ———————————————————————————————————————————————————————————————————————————
|
||||
// ***************************************************************************
|
||||
// • You typically will not need to change things below here
|
||||
// ———————————————————————————————————————————————————————————————————————————
|
||||
// ***************************************************************************
|
||||
|
||||
#define MOCHA
|
||||
#define MOZILLA_CLIENT 1
|
||||
|
@ -76,7 +79,7 @@
|
|||
#define LAYERS 1
|
||||
// #define NU_CACHE 1 // uncomment to turn on new memory cache features
|
||||
|
||||
#define CASTED_READ_OBJECT(stream, type, reference) (reference = NULL)
|
||||
//#define CASTED_READ_OBJECT(stream, type, reference) (reference = NULL)
|
||||
|
||||
/* Defined in javaStubs prefix files
|
||||
#define VERSION_NUMBER "4_0b0"
|
||||
|
@ -84,3 +87,5 @@
|
|||
*/
|
||||
|
||||
#define NECKO 1
|
||||
|
||||
#endif /* DefinesMozilla_h_ */
|
||||
|
|
|
@ -25,18 +25,22 @@
|
|||
Order below does matter.
|
||||
*/
|
||||
|
||||
#ifndef MacConfigInclude_h_
|
||||
#define MacConfigInclude_h_
|
||||
|
||||
/* Read compiler options */
|
||||
#ifndef IDE_Options_h_
|
||||
#include "IDE_Options.h"
|
||||
#endif
|
||||
|
||||
/* Read file of defines global to the Mac build */
|
||||
#ifndef DefinesMac_h_
|
||||
#include "DefinesMac.h"
|
||||
|
||||
/* Read the configuration options (which build we are doing) */
|
||||
#include "MacConfig.h"
|
||||
|
||||
/* Read component defines */
|
||||
#include "ComponentConfig.h"
|
||||
#endif
|
||||
|
||||
/* Read build-wide defines (e.g. MOZILLA_CLIENT) */
|
||||
#ifndef DefinesMozilla_h_
|
||||
#include "DefinesMozilla.h"
|
||||
#endif
|
||||
|
||||
#endif /* MacConfigInclude_h_ */
|
||||
|
|
|
@ -22,4 +22,6 @@
|
|||
#undef txtnDebug
|
||||
|
||||
/* Read the common configuration file */
|
||||
#ifndef MacConfigInclude_h_
|
||||
#include "MacConfigInclude.h"
|
||||
#endif
|
||||
|
|
|
@ -22,4 +22,6 @@
|
|||
#define txtnDebug
|
||||
|
||||
/* Read the common configuration file */
|
||||
#ifndef MacConfigInclude_h_
|
||||
#include "MacConfigInclude.h"
|
||||
#endif
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
* Reserved.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
This is included as a prefix file in all Mac projects. It ensures that
|
||||
the correct #defines are set up for this build.
|
||||
|
@ -31,12 +33,6 @@
|
|||
/* Read file of defines global to the Mac build */
|
||||
#include "DefinesMac.h"
|
||||
|
||||
/* Read the configuration options (which build we are doing) */
|
||||
#include "MacConfig.h"
|
||||
|
||||
/* Read component defines */
|
||||
/* #include "ComponentConfig.h" */
|
||||
|
||||
/* Read build-wide defines (e.g. MOZILLA_CLIENT) */
|
||||
#include "DefinesMozilla.h"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче