mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Apply Win32 patch from Horak Daniel.
This commit is contained in:
@@ -94,7 +94,11 @@ char **argv;
|
||||
in_file = stdin;
|
||||
else
|
||||
{
|
||||
#ifndef __CYGWIN32__
|
||||
if ((in_file = fopen(*argv, "r")) == NULL)
|
||||
#else
|
||||
if ((in_file = fopen(*argv, "rb")) == NULL)
|
||||
#endif
|
||||
halt("PERROR: Can not open file %s\n", argv[0]);
|
||||
argv++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user