don't break if we're included in a C file

This commit is contained in:
alecf%netscape.com 1999-04-15 03:13:20 +00:00
Родитель 43e7b968b2
Коммит 983d151830
3 изменённых файлов: 15 добавлений и 3 удалений

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

@ -31,6 +31,10 @@
* macros defined later in this file so that the debug code can be
* conditionally compiled out.
*/
/* in case this is included by a C file */
#ifdef __cplusplus
class nsDebug {
public:
// XXX add in log controls here
@ -175,5 +179,5 @@ if (!(expr)) \
#define NS_BREAK() {}
#endif /* ! NS_DEBUG */
#endif /* __cplusplus */
#endif /* nsDebug_h___ */

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

@ -31,6 +31,10 @@
* macros defined later in this file so that the debug code can be
* conditionally compiled out.
*/
/* in case this is included by a C file */
#ifdef __cplusplus
class nsDebug {
public:
// XXX add in log controls here
@ -175,5 +179,5 @@ if (!(expr)) \
#define NS_BREAK() {}
#endif /* ! NS_DEBUG */
#endif /* __cplusplus */
#endif /* nsDebug_h___ */

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

@ -31,6 +31,10 @@
* macros defined later in this file so that the debug code can be
* conditionally compiled out.
*/
/* in case this is included by a C file */
#ifdef __cplusplus
class nsDebug {
public:
// XXX add in log controls here
@ -175,5 +179,5 @@ if (!(expr)) \
#define NS_BREAK() {}
#endif /* ! NS_DEBUG */
#endif /* __cplusplus */
#endif /* nsDebug_h___ */