Fix I/O redirection in cjpeg and djpeg on Windows

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.0.x@605 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2011-05-02 00:40:13 +00:00
parent fad469f51e
commit e8738541c9
2 changed files with 4 additions and 1 deletions

View File

@@ -37,6 +37,9 @@ libjpeg-turbo with older versions of MinGW64, you will now have to add
[6] Eliminated excessive I/O overhead that occurred when reading BMP files in
cjpeg.
[7] Eliminated errors in the output of cjpeg on Windows that occurred when the
application was invoked using I/O redirection (cjpeg <inputfile >output.jpeg).
1.0.1
=====

View File

@@ -27,7 +27,7 @@ NASM = nasm
endif
CFLAGS = -W3 -wd4996 -Iwin -I. -DBMP_SUPPORTED -DGIF_SUPPORTED \
-DPPM_SUPPORTED -DTARGA_SUPPORTED
-DPPM_SUPPORTED -DTARGA_SUPPORTED -DUSE_SETMODE
ifeq ($(WIN64), yes)
NAFLAGS = -fwin64 -DWIN64 -DMSVC -D__x86_64__ -Iwin/
else