[project @ 1997-10-30 22:12:25 by sof]
authorsof <unknown>
Thu, 30 Oct 1997 22:12:25 +0000 (22:12 +0000)
committersof <unknown>
Thu, 30 Oct 1997 22:12:25 +0000 (22:12 +0000)
When needed , define __linux__ to silence cpp warnings

glafp-utils/mkdependC/mkdependC.prl

index ff0c0da..be3d42f 100644 (file)
@@ -32,6 +32,9 @@ $HostPlatform = ${HOSTPLATFORM};
 if ( $HostPlatform =~ /^i386-/ ) {
     push(@Defines, '-D__i386__');
 }
+if ( $HostPlatform =~ /linux/ ) {
+    push(@Defines, '-D__linux__');
+}
 if ( $HostPlatform =~ /^sparc-/ ) {
     push(@Defines, '-D__sparc__');
 }