2011-04-18 14:37:48 -04:00
|
|
|
$OpenBSD: patch-lib_arch_CMultibyte_cpp,v 1.3 2011/04/18 18:37:48 jasper Exp $
|
|
|
|
--- lib/arch/CMultibyte.cpp.orig Sun Jan 23 06:53:37 2011
|
|
|
|
+++ lib/arch/CMultibyte.cpp Sun Apr 17 21:01:57 2011
|
|
|
|
@@ -28,7 +28,7 @@
|
2009-09-03 14:05:35 -04:00
|
|
|
#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
|
2011-04-18 14:37:48 -04:00
|
|
|
# include <cstdlib>
|
2005-01-24 22:58:23 -05:00
|
|
|
#else
|