[project @ 1997-05-27 06:01:00 by sof]
authorsof <unknown>
Tue, 27 May 1997 06:01:00 +0000 (06:01 +0000)
committersof <unknown>
Tue, 27 May 1997 06:01:00 +0000 (06:01 +0000)
Added #define with complete cpu-manufacturer-os trip to generated config.h

ghc/includes/Makefile

index 563ae50..cd5a8f2 100644 (file)
@@ -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" >> $@