Fix building with FONT_COMPRESSION_DEBUG

This commit is contained in:
Khaled Hosny
2015-05-01 01:01:11 +03:00
parent 93699d2659
commit c3d35ba2e1
+1 -1
View File
@@ -48,7 +48,7 @@ namespace woff2 {
#define FONT_COMPRESSION_FAILURE() false #define FONT_COMPRESSION_FAILURE() false
#else #else
#define FONT_COMPRESSION_FAILURE() \ #define FONT_COMPRESSION_FAILURE() \
util::compression::font::Failure(__FILE__, __LINE__, __PRETTY_FUNCTION__) woff2::Failure(__FILE__, __LINE__, __PRETTY_FUNCTION__)
inline bool Failure(const char *f, int l, const char *fn) { inline bool Failure(const char *f, int l, const char *fn) {
fprintf(stderr, "ERROR at %s:%d (%s)\n", f, l, fn); fprintf(stderr, "ERROR at %s:%d (%s)\n", f, l, fn);
fflush(stderr); fflush(stderr);