diff options
author | Eric Anholt <eric@anholt.net> | 2014-02-06 11:23:43 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-02-06 11:23:43 -0800 |
commit | 766422a82ce1a72bd020574b3df41ddbebd246f4 (patch) | |
tree | edbb97c4ad1b9a85d8503e0b422bc854b22315fc /src | |
parent | e4f5da9539f606e0043678579de83f66f0b3e9c4 (diff) |
Use the same typedefs as upstream khrplatform.h in a couple cases.
This should avoid any differences we might end up with compared to
system khrplatform.h.
Diffstat (limited to 'src')
-rwxr-xr-x | src/gen_dispatch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen_dispatch.py b/src/gen_dispatch.py index d0cb89a..b3cead6 100755 --- a/src/gen_dispatch.py +++ b/src/gen_dispatch.py @@ -501,8 +501,8 @@ class Generator(object): self.outln('typedef uint32_t khronos_uint32_t;') self.outln('typedef uint64_t khronos_uint64_t;') self.outln('typedef float khronos_float_t;') - self.outln('typedef intptr_t khronos_intptr_t;') - self.outln('typedef ptrdiff_t khronos_ssize_t;') + self.outln('typedef long khronos_intptr_t;') + self.outln('typedef long khronos_ssize_t;') self.outln('typedef unsigned long khronos_usize_t;') self.outln('typedef uint64_t khronos_utime_nanoseconds_t;') self.outln('typedef int64_t khronos_stime_nanoseconds_t;') |