OSDN Git Service

cmigemo 1.3c_7
[splhack/MacPorts.git] / textproc / cmigemo / files / patch-romaji.c
1 --- src/romaji.c.orig
2 +++ src/romaji.c
3 @@ -31,6 +31,13 @@
4  #define ROMAJI_FIXKEY_XTU "xtu"
5  #define ROMAJI_FIXKEY_NONXTU "aiueon"
6  
7 +#if defined(__APPLE__)
8 +static int _isspace(int c) {
9 +       return c >= 0x80 ? 0 : isspace(c);
10 +}
11 +# define isspace(c) _isspace(c)
12 +#endif  // __APPLE__
13 +
14  /*
15   * romanode interfaces
16   */