зеркало из https://github.com/mozilla/pjs.git
bug #67600, checking in for Ulrich Drepper <drepper@cygnus.org>, sr=scc, r=jst. |#undef| |printf| macros before un-conditionally redefining them, else there are warnings.
This commit is contained in:
Родитель
e8e4770798
Коммит
9858b4a4d1
|
@ -208,7 +208,9 @@ inline void nsNoop(...) {}
|
|||
#define PR_NewLogModule #error use_NS_IMPL_LOG_instead
|
||||
#undef PR_ASSERT
|
||||
#define PR_ASSERT(x) NS_ASSERTION(x, #x)
|
||||
#undef printf
|
||||
#define printf use_NS_LOG_PRINTF_instead
|
||||
#undef fprintf
|
||||
#define fprintf use_NS_LOG_PRINTF_instead
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Загрузка…
Ссылка в новой задаче