Mercurial > rcctl_linux
comparison cdcnv.c @ 11:1ee15e2dc386 default tip
added support for macosx
| author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
|---|---|
| date | Fri, 30 Nov 2012 22:10:10 +0900 |
| parents | c6f444d2272c |
| children |
comparison
equal
deleted
inserted
replaced
| 10:83b2f2fc3d4b | 11:1ee15e2dc386 |
|---|---|
| 13 | 13 |
| 14 #include <string.h> | 14 #include <string.h> |
| 15 #include <stdio.h> | 15 #include <stdio.h> |
| 16 #include "debug.h" | 16 #include "debug.h" |
| 17 | 17 |
| 18 #if defined(__FreeBSD__) || defined(linux) | 18 #if defined(__FreeBSD__) || defined(linux) || defined(__APPLE__) |
| 19 #define stricmp(s, c) strcasecmp(s, c) | 19 #define stricmp(s, c) strcasecmp(s, c) |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 const char mks[] = "XUGJHBPDSNKMALZTCI"; | 22 const char mks[] = "XUGJHBPDSNKMALZTCI"; |
| 23 #define M_X2 0 /* X2000 */ | 23 #define M_X2 0 /* X2000 */ |
