]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Pacify Oracle Studio 12.6
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Aug 2019 07:37:08 +0000 (00:37 -0700)
committerPaul Smith <psmith@gnu.org>
Mon, 2 Sep 2019 15:11:26 +0000 (11:11 -0400)
* src/arscan.c [VMS]: Use ‘#if !defined LBR$_HDRTRUNC’ instead
of ‘#ifndef LBR$_HDRTRUNC’ to pacify Oracle Studio 12.6, which
looks inside unused #if branches for preprocessor syntax errors.
Without this patch it complains ‘"src/arscan.c", line 43: warning:
tokens ignored at end of directive line’.

src/arscan.c

index fb6264129c571dac78ac003864cfdc8b99a50df8..9a0a7a0cc831ec9c1038017978b4077d74a551b7 100644 (file)
@@ -40,7 +40,7 @@ this program.  If not, see <http://www.gnu.org/licenses/>.  */
 #include <rmsdef.h>
 
 /* This symbol should be present in lbrdef.h. */
-#ifndef LBR$_HDRTRUNC
+#if !defined LBR$_HDRTRUNC
 #pragma extern_model save
 #pragma extern_model globalvalue
 extern unsigned int LBR$_HDRTRUNC;