From: oetiker Date: Mon, 7 May 2012 07:31:28 +0000 (+0000) Subject: fix warning: "__STRICT_ANSI__" is not defined warning patch by Gilles Esp X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6c837ea4fe7954b4a5b30d74f6c33f065bfc68fb;p=rrdtool-all.git fix warning: "__STRICT_ANSI__" is not defined warning patch by Gilles Esp git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2288 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/gettext.h b/program/src/gettext.h index 209921e6..b9380cc9 100644 --- a/program/src/gettext.h +++ b/program/src/gettext.h @@ -170,7 +170,7 @@ npgettext_aux (const char *domain, #include #define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS \ - (((__GNUC__ >= 3 || __GNUG__ >= 2) && !__STRICT_ANSI__) \ + (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \ /* || __STDC_VERSION__ >= 199901L */ ) #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS