Commit 1b99d0a01c50f8caa5f6517252bc34e3ec3e6967

Werner Lemberg 2012-02-24T10:54:07

Prepare source code for amalgamation (5/6). * include/freetype/fterrors.h: Undefine FT_KEEP_ERR_PREFIX after using it.

diff --git a/ChangeLog b/ChangeLog
index e8763e5..a811167 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-02-24  Vinnie Falco  <vinnie.falco@gmail.com>
+
+	Prepare source code for amalgamation (5/6).
+
+	* include/freetype/fterrors.h: Undefine FT_KEEP_ERR_PREFIX after
+	using it.
+
 2012-02-22  Vinnie Falco  <vinnie.falco@gmail.com>
 
 	Prepare source code for amalgamation (4/6).
diff --git a/include/freetype/fterrors.h b/include/freetype/fterrors.h
index 2e31f78..a54699f 100644
--- a/include/freetype/fterrors.h
+++ b/include/freetype/fterrors.h
@@ -197,6 +197,8 @@
   /* FT_KEEP_ERR_PREFIX is needed for ftvalid.h */
 #ifndef FT_KEEP_ERR_PREFIX
 #undef FT_ERR_PREFIX
+#else
+#undef FT_KEEP_ERR_PREFIX
 #endif
 
 #endif /* __FTERRORS_H__ */