openbsd-ports/net/synergy/patches/patch-lib_arch_CMultibyte_cpp
jasper 8c5012090e - update to 1.4.2
joint work with dcoppa@ who fixed some cmake-beginners mistakes
  from the synergy devs
2011-04-18 18:37:48 +00:00

13 lines
402 B
Plaintext

$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 @@
#endif
#if HAVE_WCHAR_H || defined(_MSC_VER)
# include <wchar.h>
-#elif __APPLE__
+#elif __APPLE__ || __OpenBSD__
// wtf? Darwin puts mbtowc() et al. in stdlib
# include <cstdlib>
#else