aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2011-01-23 12:24:15 -0500
committerAndrew Dunstan <andrew@dunslane.net>2011-01-23 12:24:15 -0500
commit6c41cf5977ca3f13159b980d4b216e3bc9df90e8 (patch)
tree44339d93255e719e33cbfef427e499eabe833476 /src
parentd13e0975c9812dea583486e1d2efd3bc3e638df5 (diff)
downloadpostgresql-6c41cf5977ca3f13159b980d4b216e3bc9df90e8.tar.gz
postgresql-6c41cf5977ca3f13159b980d4b216e3bc9df90e8.zip
Silence flex warnings about DOS file paths in MSVC builds
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/msvc/pgflex.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/msvc/pgflex.bat b/src/tools/msvc/pgflex.bat
index 7102e5690ec..da7c33d7af2 100755
--- a/src/tools/msvc/pgflex.bat
+++ b/src/tools/msvc/pgflex.bat
@@ -1,6 +1,9 @@
@echo off
REM src/tools/msvc/pgflex.bat
+REM silence flex bleatings about file path style
+SET CYGWIN=nodosfilewarning
+
IF NOT EXIST src\tools\msvc\buildenv.pl goto nobuildenv
perl -e "require 'src/tools/msvc/buildenv.pl'; while(($k,$v) = each %ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
CALL bldenv.bat