From 1598c4928e7aa5bd98455e39cf5f53b1efdacae5 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 24 Oct 2004 22:15:29 +0000 Subject: [PATCH] Work around what appears to be a C compiler bug in HP-UX 11.23 for ia64. --- locate/locate.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/locate/locate.c b/locate/locate.c index e433f3f..6359778 100644 --- a/locate/locate.c +++ b/locate/locate.c @@ -101,7 +101,11 @@ extern int errno; #ifdef gettext_noop # define N_(String) gettext_noop (String) #else -# define N_(String) (String) +/* We used to use (String) instead of just String, but HP-UX 11.23 for + * ia64 has what seems to be a compiler bug, because it refuses input + * like: static const char buf[] = ("string"); + */ +# define N_(String) String #endif #include "locatedb.h" -- 2.11.4.GIT