diff options
Diffstat (limited to 'src/pdclib/platform')
-rw-r--r-- | src/pdclib/platform/stmos/include/pdclib/_PDCLIB_config.h | 2 | ||||
-rw-r--r-- | src/pdclib/platform/stmos/include/sys/types.h | 2 | ||||
-rw-r--r-- | src/pdclib/platform/stmos/include/unistd.h | 6 |
3 files changed, 9 insertions, 1 deletions
diff --git a/src/pdclib/platform/stmos/include/pdclib/_PDCLIB_config.h b/src/pdclib/platform/stmos/include/pdclib/_PDCLIB_config.h index 9731f86..3733edb 100644 --- a/src/pdclib/platform/stmos/include/pdclib/_PDCLIB_config.h +++ b/src/pdclib/platform/stmos/include/pdclib/_PDCLIB_config.h @@ -143,7 +143,7 @@ struct _PDCLIB_lldiv_t #define _PDCLIB_SIG_ATOMIC INT /* Result type of the 'sizeof' operator (must be unsigned) */ -#define _PDCLIB_size unsigned long +#define _PDCLIB_size unsigned int #define _PDCLIB_SIZE ULONG /* Large enough an integer to hold all character codes of the largest supported diff --git a/src/pdclib/platform/stmos/include/sys/types.h b/src/pdclib/platform/stmos/include/sys/types.h new file mode 100644 index 0000000..53c0fe2 --- /dev/null +++ b/src/pdclib/platform/stmos/include/sys/types.h @@ -0,0 +1,2 @@ +// placeholder for gcc compilation + diff --git a/src/pdclib/platform/stmos/include/unistd.h b/src/pdclib/platform/stmos/include/unistd.h new file mode 100644 index 0000000..4003d7c --- /dev/null +++ b/src/pdclib/platform/stmos/include/unistd.h @@ -0,0 +1,6 @@ +#ifndef UNISTD_H_ +#define UNISTD_H_ + +typedef int pid_t; + +#endif // UNISTD_H_ |