X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FMakefile;h=cd5a8f24822065d263b22f7b427b88c9af830308;hb=de414c827e940c56f3c577967b44a9da0f8e6174;hp=563ae5013959c1c5f57279e7e537624272eaac78;hpb=21a17156ce5b2e492be4babd61619f58d304975f;p=ghc-hetmet.git diff --git a/ghc/includes/Makefile b/ghc/includes/Makefile index 563ae50..cd5a8f2 100644 --- a/ghc/includes/Makefile +++ b/ghc/includes/Makefile @@ -55,6 +55,9 @@ $(H_CONFIG) : @echo >> $@ @echo "#define $(HostOS_CPP)_HOST_OS 1" >> $@ @echo "#define $(HostOS_CPP)_TARGET_OS 1" >> $@ + @echo "#ifndef $(HostPlaform_GNU)_TARGET_OS " >> $@ + @echo "#define $(HostPlaform_GNU)_TARGET_OS 1" >> $@ + @echo "#endif " >> $@ @echo "#define $(HostOS_CPP)_BUILD_OS 1" >> $@ @echo >> $@ @echo "#define $(HostVendor_CPP)_HOST_VENDOR 1" >> $@