From: Tom Lane Date: Sun, 24 Mar 2002 18:22:21 +0000 (+0000) Subject: Indenting #if commands is not portable, is it? X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=a7da7d480e930d87f69a7bad50700c2efa96fbb7;p=users%2Fbernd%2Fpostgres.git Indenting #if commands is not portable, is it? --- diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l index ee991ff747..021766528c 100644 --- a/src/interfaces/ecpg/preproc/pgc.l +++ b/src/interfaces/ecpg/preproc/pgc.l @@ -338,10 +338,10 @@ cppline {space}*#(.*\\{space})*.* errno = 0; val = strtol(literalbuf, &endptr, 16); if (*endptr != '\0' || errno == ERANGE - #ifdef HAVE_LONG_INT_64 +#ifdef HAVE_LONG_INT_64 /* if long > 32 bits, check for overflow of int4 */ || val != (long) ((int32) val) - #endif +#endif ) mmerror(PARSE_ERROR, ET_ERROR, "Bad hexadecimal integer input"); yylval.ival = val;