summaryrefslogtreecommitdiff
path: root/include/remote/win/sys/types.h
blob: 7b131f6ed950c5a64f1f05283151d8118d8c83f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// This is an incomplete & imprecice implementation of the Posix
// standard file by the same name


// Since this is only intended for VC++ compilers
// use #pragma once instead of guard macros
#pragma once

#ifdef _MSC_VER // Only for cross compilation to windows

// Posix is a superset of the ISO C sys/types
// include ISO C version first
#include <../ucrt/sys/types.h>
#include <stddef.h>

typedef int pid_t;
typedef ptrdiff_t ssize_t;

#endif // _MSC_VER