[Groonga-commit] groonga/groonga [master] [solaris] undef system ERR macro.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 10月 25日 (火) 16:41:49 JST


Kouhei Sutou	2011-10-25 07:41:49 +0000 (Tue, 25 Oct 2011)

  New Revision: fa47b8615f775493bf07f7b0846ea0dcae69431d

  Log:
    [solaris] undef system ERR macro.

  Modified files:
    lib/ctx.h

  Modified: lib/ctx.h (+3 -0)
===================================================================
--- lib/ctx.h    2011-10-25 07:41:35 +0000 (453c355)
+++ lib/ctx.h    2011-10-25 07:41:49 +0000 (c8e6a0f)
@@ -144,6 +144,9 @@ GRN_API void grn_ctx_impl_err(grn_ctx *ctx);
   if (!(expr)) { QLERR("syntax error"); }\
 } while (0)
 
+#ifdef ERR
+#  undef ERR
+#endif /* ERR */
 #define ERR(rc,...) ERRSET(ctx, GRN_ERROR, (rc),  __VA_ARGS__)
 #define WARN(rc,...) ERRSET(ctx, GRN_WARN, (rc),  __VA_ARGS__)
 #define MERR(...) ERRSET(ctx, GRN_ALERT, GRN_NO_MEMORY_AVAILABLE,  __VA_ARGS__)




Groonga-commit メーリングリストの案内
Back to archive index