2009-09-03 14:05:35 -04:00
|
|
|
$OpenBSD: patch-lib_arch_CMultibyte_cpp,v 1.2 2009/09/03 18:05:36 pvalchev Exp $
|
|
|
|
--- lib/arch/CMultibyte.cpp.orig Tue Nov 29 20:33:24 2005
|
|
|
|
+++ lib/arch/CMultibyte.cpp Wed Sep 2 14:18:01 2009
|
|
|
|
@@ -24,7 +24,7 @@
|
|
|
|
#endif
|
2005-01-24 22:58:23 -05:00
|
|
|
#if HAVE_WCHAR_H || defined(_MSC_VER)
|
|
|
|
# include <wchar.h>
|
|
|
|
-#elif __APPLE__
|
|
|
|
+#elif __APPLE__ || __OpenBSD__
|
|
|
|
// wtf? Darwin puts mbtowc() et al. in stdlib
|
|
|
|
# include <stdlib.h>
|
|
|
|
#else
|