summaryrefslogtreecommitdiff
path: root/src/osdef.sh
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-04 04:57:50 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-04 04:57:50 +0100
commit0958e0fbe7307f0b46b8f692cbd097fbf93c90f6 (patch)
tree620743b7e3130acc074c2d96d0de952a7d54e976 /src/osdef.sh
parentf332a656c3aa26ee95849341198eb730a150445d (diff)
downloadvim-git-0958e0fbe7307f0b46b8f692cbd097fbf93c90f6.tar.gz
updated for version 7.4.068v7.4.068
Problem: Cannot build Vim on Mac with non-Apple compilers. Solution: Remove the -no-cpp-precomp flag. (Misty De Meo)
Diffstat (limited to 'src/osdef.sh')
-rwxr-xr-xsrc/osdef.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/osdef.sh b/src/osdef.sh
index d7d4f2ac2..6f9fea28b 100755
--- a/src/osdef.sh
+++ b/src/osdef.sh
@@ -47,11 +47,7 @@ cat << EOF > osdef0.c
#endif
EOF
-# Mac uses precompiled headers, but we need real headers here.
-case `uname` in
- Darwin) $CC -I. -I$srcdir -E -no-cpp-precomp osdef0.c >osdef0.cc;;
- *) $CC -I. -I$srcdir -E osdef0.c >osdef0.cc;;
-esac
+$CC -I. -I$srcdir -E osdef0.c >osdef0.cc
# insert a space in front of each line, so that a function name at the
# start of the line is matched with "[)*, ]\1[ (]"