fix instance of C++ comments in a C file

This commit is contained in:
cyeh%netscape.com 1998-09-29 18:28:53 +00:00
Родитель ee6df5913e
Коммит 4ab33460f7
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -114,8 +114,8 @@ XP_END_PROTOS
extern void debugstr(const char* s);
#endif
#ifndef XP_ASSERT
// Carbon doesn't support debugstr(), so we have to do it ourselves. Also, Carbon
// may have read-only strings so that we need a temp buffer to use c2pstr().
/* Carbon doesn't support debugstr(), so we have to do it ourselves. Also, Carbon */
/* may have read-only strings so that we need a temp buffer to use c2pstr(). */
#define XP_ASSERT(X) do {if (!(X)) {char buff[500]; strcpy(buff,#X); DebugStr(c2pstr(buff));} } while (PR_FALSE)
#endif
#else