mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00
[UCRT] Make includes unix compatible
This commit is contained in:
parent
90dad446b7
commit
2eb3149565
5 changed files with 8 additions and 8 deletions
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
#include <corecrt_internal.h>
|
||||
#include <io.h>
|
||||
#include <sys\stat.h>
|
||||
#include <sys/stat.h>
|
||||
#include <corecrt_internal_win32_buffer.h>
|
||||
|
||||
// Changes the mode of a file. The only supported mode bit is _S_IWRITE, which
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
#include <corecrt_internal.h>
|
||||
#include <io.h>
|
||||
#include <sys\stat.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// Defines _locking(), which locks and unlocks regions of a file.
|
||||
//
|
||||
#include <corecrt_internal_lowio.h>
|
||||
#include <sys\locking.h>
|
||||
#include <sys/locking.h>
|
||||
|
||||
|
||||
|
||||
|
@ -106,7 +106,7 @@ extern "C" int __cdecl _locking(int const fh, int const locking_mode, long const
|
|||
{
|
||||
errno = EBADF;
|
||||
_doserrno = 0;
|
||||
_ASSERTE(("Invalid file descriptor. File possibly closed by a different thread",0));
|
||||
_ASSERTE(("Invalid file descriptor. File possibly closed by a different thread",0));
|
||||
__leave;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*******************************************************************************/
|
||||
|
||||
#include <corecrt_internal_lowio.h>
|
||||
#include <sys\stat.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
extern "C" { int _umaskval = 0; }
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
// process started execution.
|
||||
//
|
||||
#include <corecrt_internal_time.h>
|
||||
#include <sys\timeb.h>
|
||||
#include <sys\types.h>
|
||||
#include <sys/timeb.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
|
||||
|
@ -51,7 +51,7 @@ extern "C" int __cdecl __acrt_initialize_clock()
|
|||
!QueryPerformanceCounter(&local_start_count) ||
|
||||
local_frequency.QuadPart == 0)
|
||||
{
|
||||
source_frequency = -1;
|
||||
source_frequency = -1;
|
||||
start_count = -1;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue