diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-06-20 20:30:25 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-07-09 22:56:18 -0400 |
commit | fb43bddc771094632bd08a4eab28fd3e714affd0 (patch) | |
tree | 50ad6cc9a401dc61209215b0e719e35b55d67cb7 | |
parent | b05c8423bd97547e7961d947df27b34f52f2ce47 (diff) | |
download | haskell-fb43bddc771094632bd08a4eab28fd3e714affd0.tar.gz |
Fix two more `#ifndef` for the linter
-rw-r--r-- | compiler/ghc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk index b8c0a1a2fc..1cd82d1635 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -93,7 +93,7 @@ PLATFORM_H = ghc_boot_platform.h compiler/stage1/$(PLATFORM_H) : mk/config.mk mk/project.mk | $$(dir $$@)/. $(call removeFiles,$@) @echo "Creating $@..." - @echo "#ifndef __PLATFORM_H__" >> $@ + @echo "#if !defined(__PLATFORM_H__)" >> $@ @echo "#define __PLATFORM_H__" >> $@ @echo >> $@ @echo "#define BuildPlatform_NAME \"$(BUILDPLATFORM)\"" >> $@ @@ -134,7 +134,7 @@ compiler/stage1/$(PLATFORM_H) : mk/config.mk mk/project.mk | $$(dir $$@)/. compiler/stage2/$(PLATFORM_H) : mk/config.mk mk/project.mk | $$(dir $$@)/. $(call removeFiles,$@) @echo "Creating $@..." - @echo "#ifndef __PLATFORM_H__" >> $@ + @echo "#if !defined(__PLATFORM_H__)" >> $@ @echo "#define __PLATFORM_H__" >> $@ @echo >> $@ @echo "#define BuildPlatform_NAME \"$(HOSTPLATFORM)\"" >> $@ |