Make sure nsTarget.h is complied as C++ source.

nsTarget.h is a c++ header, which includes other c++ headers.  It needs to
be complied as c++ source.

If everything in this page needs to be compiled as C code, then why
isnt this file a .c file ?
This commit is contained in:
ramiro%netscape.com 1999-05-31 16:29:28 +00:00
Родитель 8bcf74c4f4
Коммит 3a1a4a1d14
1 изменённых файлов: 17 добавлений и 0 удалений

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

@ -24,8 +24,25 @@ extern "C" {
#include "xp.h"
#include "xpgetstr.h"
#include "prprf.h"
#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */
/*
* This is a c++ header, which includes other c++ headers. It needs to
* be complied as c++ source.
*
* If everything in this page needs to be compiled as C code, then why
* isnt this file a .c file ?
*
*/
#include "nsTarget.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#ifdef XXX
extern int CAPS_TARGET_RISK_STR_LOW;
extern int CAPS_TARGET_RISK_STR_MEDIUM;