Added the #define for turning on the default messages. Not sure if this is

the right place for it, but I wanted to get it in before the merge-a-thon.
This commit is contained in:
rogerl%netscape.com 1998-09-23 20:41:13 +00:00
Родитель 1add701f7f
Коммит 4f81e38cf9
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -301,8 +301,13 @@ jsj_LogError(const char *error_msg)
jsj_GetErrorMessage is invoked by the engine whenever it wants
to convert an error number into an error format string.
*/
/*
this define needs to go somewhere sensible
*/
#define JSJ_HAS_DFLT_MSG_STRINGS 1
JSErrorFormatString jsj_ErrorFormatString[JSJ_Err_Limit] = {
#if JS_HAS_DFLT_MSG_STRINGS
#if JSJ_HAS_DFLT_MSG_STRINGS
#define MSG_DEF(name, number, count, format) \
{ format, count } ,
#else