diff options
Diffstat (limited to 'win32/perllib.c')
-rw-r--r-- | win32/perllib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win32/perllib.c b/win32/perllib.c index 0f63938f5c..45d64d394c 100644 --- a/win32/perllib.c +++ b/win32/perllib.c @@ -66,10 +66,10 @@ DllMain(HANDLE hModule, /* DLL module handle */ case DLL_PROCESS_ATTACH: /* #define DEFAULT_BINMODE */ #ifdef DEFAULT_BINMODE - _setmode( _fileno( stdin ), _O_BINARY ); - _setmode( _fileno( stdout ), _O_BINARY ); - _setmode( _fileno( stderr ), _O_BINARY ); - _fmode = _O_BINARY; + setmode( fileno( stdin ), O_BINARY ); + setmode( fileno( stdout ), O_BINARY ); + setmode( fileno( stderr ), O_BINARY ); + _fmode = O_BINARY; #endif PerlDllHandle = hModule; break; |