| Index: include/core/SkPostConfig.h
|
| diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
|
| index 8f62a7098771d2ca26234dde008cdaa5b0337898..58a13a0eec349b7d0b46eab5f773718a621bd0e4 100644
|
| --- a/include/core/SkPostConfig.h
|
| +++ b/include/core/SkPostConfig.h
|
| @@ -166,12 +166,14 @@
|
| # endif
|
| #
|
| #else
|
| -# ifdef SK_DEBUG
|
| -# include <stdio.h>
|
| -# ifndef SK_DEBUGBREAK
|
| +# ifndef SK_DEBUGBREAK
|
| +# ifdef SK_DEBUG
|
| +# include <stdio.h>
|
| # define SK_DEBUGBREAK(cond) do { if (cond) break; \
|
| SkDebugf("%s:%d: failed assertion \"%s\"\n", \
|
| __FILE__, __LINE__, #cond); SK_CRASH(); } while (false)
|
| +# else
|
| +# define SK_DEBUGBREAK(cond) do { if (cond) break; SK_CRASH(); } while (false)
|
| # endif
|
| # endif
|
| #endif
|
|
|