12345678910111213141516171819202122 |
- $OpenBSD: patch-src_c_property_c,v 1.2 2016/01/13 22:09:32 jasper Exp $
- --- src/c/property.c.orig Wed Apr 17 07:48:52 2013
- +++ src/c/property.c Wed Jan 13 23:08:34 2016
- @@ -27,7 +27,7 @@
- * included in all copies or substantial portions of the Software.
- */
-
- -#if defined(MACOSX) || defined(FREEBSD)
- +#if defined(MACOSX) || defined(FREEBSD) || defined(OPENBSD)
- #else
- #include <malloc.h>
- #endif
- @@ -453,7 +453,7 @@ int getEncodingByName(char* encodingMB, int *encoding)
- int getEncodingByName(char* encodingMB, char** encoding) {
- #endif
- if (strIgnoreCaseCmp(encodingMB, "Shift_JIS") == 0) {
- -#if defined(FREEBSD) || defined (AIX) || defined(MACOSX)
- +#if defined(FREEBSD) || defined (AIX) || defined(MACOSX) || defined(OPENBSD)
- *encoding = "SJIS";
- #elif defined(WIN32)
- *encoding = 932;
|