null+****@clear*****
null+****@clear*****
2011年 1月 28日 (金) 11:35:00 JST
Kouhei Sutou 2011-01-28 02:35:00 +0000 (Fri, 28 Jan 2011)
New Revision: 5a96f1570ee45f4a3a7e35c5786abe4d3e34f004
Log:
add twice strcasecmp() definition check.
Modified files:
lib/groonga_in.h
Modified: lib/groonga_in.h (+3 -1)
===================================================================
--- lib/groonga_in.h 2011-01-28 01:53:58 +0000 (89a3b5c)
+++ lib/groonga_in.h 2011-01-28 02:35:00 +0000 (89a7a3e)
@@ -122,7 +122,9 @@
#define close _close
#define usleep(x) Sleep((x) / 1000)
#define sleep(x) Sleep((x) * 1000)
-#define strcasecmp stricmp
+#if !defined(strcasecmp)
+# define strcasecmp stricmp
+#endif /* !defined(strcasecmp) */
#ifdef __GNUC__