diff options
author | tcsullivan <tullivan99@gmail.com> | 2018-12-02 14:18:36 -0500 |
---|---|---|
committer | tcsullivan <tullivan99@gmail.com> | 2018-12-02 14:18:36 -0500 |
commit | 02d0bbc0a1d04afa97e560c2707129909aaf2625 (patch) | |
tree | 64a8d25fc3151dbf5a91e5c434a197b61b6b0b17 /src/pdclib/platform | |
parent | 42eff60714a32942b307d6b139aa400ca0df296a (diff) |
working toochain build script
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_ |