diff options
author | Sven Gothel <[email protected]> | 2010-11-06 06:35:05 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-06 06:35:05 +0100 |
commit | 3e6bddf63876bd3fef26e5b99d7475ea5dae33a9 (patch) | |
tree | e2117df08d540f2adf451cb2edcdc9a63a3b0d7d /make/stub_includes/common/stddef.h | |
parent | e6adf010ac40436b2fe8767742d8f25176ff932c (diff) |
Accomodate GlueGen's new build in type, ie dummy stdint.h / stddef.h
Needs GlueGen 6b6b9b3b81cdc85b7260664ebec547756a6be5d7, branch sgothel_wip_fixes01.
Diffstat (limited to 'make/stub_includes/common/stddef.h')
-rw-r--r-- | make/stub_includes/common/stddef.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/make/stub_includes/common/stddef.h b/make/stub_includes/common/stddef.h index 8aa70051e..a3890b08a 100644 --- a/make/stub_includes/common/stddef.h +++ b/make/stub_includes/common/stddef.h @@ -1,7 +1,6 @@ -#if defined(_WIN64) - typedef __int64 ptrdiff_t; -#elif defined(__ia64__) || defined(__x86_64__) - typedef long int ptrdiff_t; -#else - typedef int ptrdiff_t; -#endif +#ifndef __stddef_h +#define __stddef_h + +#include <gluegen_types.h> + +#endif /* __stddef_h */ |