Merge pull request #17 from khaledhosny/fix-debug

Fix building with FONT_COMPRESSION_DEBUG
This commit is contained in:
rsheeter
2015-05-06 09:19:40 -07:00
+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);