Skip to content

Commit 2eb3149

Browse files
committed
[UCRT] Make includes unix compatible
1 parent 90dad44 commit 2eb3149

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

sdk/lib/ucrt/filesystem/chmod.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
#include <corecrt_internal.h>
99
#include <io.h>
10-
#include <sys\stat.h>
10+
#include <sys/stat.h>
1111
#include <corecrt_internal_win32_buffer.h>
1212

1313
// Changes the mode of a file. The only supported mode bit is _S_IWRITE, which

sdk/lib/ucrt/filesystem/wchmod.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
#include <corecrt_internal.h>
99
#include <io.h>
10-
#include <sys\stat.h>
10+
#include <sys/stat.h>
1111

1212

1313

sdk/lib/ucrt/lowio/locking.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Defines _locking(), which locks and unlocks regions of a file.
77
//
88
#include <corecrt_internal_lowio.h>
9-
#include <sys\locking.h>
9+
#include <sys/locking.h>
1010

1111

1212

@@ -106,7 +106,7 @@ extern "C" int __cdecl _locking(int const fh, int const locking_mode, long const
106106
{
107107
errno = EBADF;
108108
_doserrno = 0;
109-
_ASSERTE(("Invalid file descriptor. File possibly closed by a different thread",0));
109+
_ASSERTE(("Invalid file descriptor. File possibly closed by a different thread",0));
110110
__leave;
111111
}
112112

sdk/lib/ucrt/lowio/umask.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*******************************************************************************/
1111

1212
#include <corecrt_internal_lowio.h>
13-
#include <sys\stat.h>
13+
#include <sys/stat.h>
1414

1515
extern "C" { int _umaskval = 0; }
1616

sdk/lib/ucrt/time/clock.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// process started execution.
88
//
99
#include <corecrt_internal_time.h>
10-
#include <sys\timeb.h>
11-
#include <sys\types.h>
10+
#include <sys/timeb.h>
11+
#include <sys/types.h>
1212

1313

1414

@@ -51,7 +51,7 @@ extern "C" int __cdecl __acrt_initialize_clock()
5151
!QueryPerformanceCounter(&local_start_count) ||
5252
local_frequency.QuadPart == 0)
5353
{
54-
source_frequency = -1;
54+
source_frequency = -1;
5555
start_count = -1;
5656
return 0;
5757
}

0 commit comments

Comments
 (0)