projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1997-10-30 22:12:25 by sof]
[ghc-hetmet.git]
/
glafp-utils
/
mkdependC
/
mkdependC.prl
diff --git
a/glafp-utils/mkdependC/mkdependC.prl
b/glafp-utils/mkdependC/mkdependC.prl
index
ff0c0da
..
be3d42f
100644
(file)
--- a/
glafp-utils/mkdependC/mkdependC.prl
+++ b/
glafp-utils/mkdependC/mkdependC.prl
@@
-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__');
}