2015-08-02 12:12:44 +00:00
|
|
|
|
2022-06-12 04:28:16 +00:00
|
|
|
#include "libqb-common.h"
|
2021-08-18 12:07:40 +00:00
|
|
|
|
2018-01-04 09:20:38 +00:00
|
|
|
/* common types (not quite an include guard, but allows an including
|
2022-05-06 04:02:21 +00:00
|
|
|
* file to not have these included.
|
|
|
|
*
|
|
|
|
* Should this be adapted to check for each type before defining?
|
|
|
|
*/
|
2015-08-02 12:12:44 +00:00
|
|
|
#ifndef QB64_OS_H_NO_TYPES
|
2022-11-13 00:37:34 +00:00
|
|
|
# define int64 int64_t
|
|
|
|
# define int32 int32_t
|
|
|
|
# define int16 int16_t
|
|
|
|
# define int8 int8_t
|
|
|
|
# define uint64 uint64_t
|
|
|
|
# define uint32 uint32_t
|
|
|
|
# define uint16 uint16_t
|
|
|
|
# define uint8 uint8_t
|
2022-05-06 04:02:21 +00:00
|
|
|
|
2022-08-31 01:29:33 +00:00
|
|
|
# define ptrszint intptr_t
|
|
|
|
# define uptrszint uintptr_t
|
|
|
|
|
2022-05-06 04:02:21 +00:00
|
|
|
# ifdef QB64_64
|
|
|
|
# define ptrsz 8
|
|
|
|
# else
|
|
|
|
# define ptrsz 4
|
|
|
|
# endif
|
2018-01-04 09:20:38 +00:00
|
|
|
#endif
|