Files
haikuports/dev-lang/yasm/yasm-0.7.1-haiku.diff

13 lines
396 B
Diff

diff -urN yasm-0.7.1/util.h yasm-0.7.1-haiku/util.h
--- yasm-0.7.1/util.h 2008-05-15 01:35:11.000000000 +0000
+++ yasm-0.7.1-haiku/util.h 2008-09-26 11:19:12.000000000 +0000
@@ -116,7 +116,7 @@
# define USE_OUR_OWN_STRCASECMP
#endif
-#if !defined(HAVE_TOASCII) || defined(lint)
+#if (!defined(HAVE_TOASCII) || defined(lint)) && !defined(__HAIKU__)
# define toascii(c) ((c) & 0x7F)
#endif