null+****@clear*****
null+****@clear*****
2010年 12月 23日 (木) 11:59:14 JST
Kouhei Sutou 2010-12-23 02:59:14 +0000 (Thu, 23 Dec 2010) New Revision: e308c52b1e59f6b43a1b53f2e57faa90c623ef40 Log: define _NETBSD_SOURCE to 1 for NetBSD. Patch by OBATA Akio. Thanks!!! Modified files: lib/groonga_in.h Modified: lib/groonga_in.h (+4 -0) =================================================================== --- lib/groonga_in.h 2010-12-22 04:11:04 +0000 (3a55059) +++ lib/groonga_in.h 2010-12-23 02:59:14 +0000 (1ba2081) @@ -23,6 +23,10 @@ #define _GNU_SOURCE #endif /* __GNUC__ */ +#if defined(__NetBSD__) && !defined(_NETBSD_SOURCE) +#define _NETBSD_SOURCE 1 +#endif /* defined(__NetBSD__) && !defined(_NETBSD_SOURCE) */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */