ports/textproc/antiword/patches/patch-main_u_c

11 lines
388 B
Text

--- main_u.c.orig Sat Jan 15 20:08:51 2005
+++ main_u.c Tue Nov 8 13:00:55 2005
@@ -252,7 +252,7 @@ main(int argc, char **argv)
#if !defined(__dos)
if (is_locale_utf8()) {
-#if defined(__STDC_ISO_10646__)
+#if defined(__STDC_ISO_10646__) || defined(__OpenBSD__)
/*
* If the user wants UTF-8 and the envirionment variables
* support UTF-8, than set the locale accordingly