diff options
author | Eli Bendersky <eliben@users.noreply.github.com> | 2016-01-21 16:35:12 -0800 |
---|---|---|
committer | Eli Bendersky <eliben@users.noreply.github.com> | 2016-01-21 16:35:12 -0800 |
commit | e8afe74678382b948790a8524ef3cc616f4b13db (patch) | |
tree | 11b8500fc66366b89e0bef917a9ddaa0ec54caf3 | |
parent | bf6aa16944ed88d6b9135a8b185e1bc31ad4c30b (diff) | |
parent | cbc0fce343b4e23361e8e2ad8b8ab13eeff85766 (diff) | |
download | pycparser-e8afe74678382b948790a8524ef3cc616f4b13db.tar.gz |
Merge pull request #111 from asokoloski/master
Problem: can't parse code from https://github.com/zeromq/malamute
-rw-r--r-- | utils/fake_libc_include/_fake_typedefs.h | 8 | ||||
-rw-r--r-- | utils/fake_libc_include/asm-generic/int-ll64.h | 2 | ||||
-rw-r--r-- | utils/fake_libc_include/linux/socket.h | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/utils/fake_libc_include/_fake_typedefs.h b/utils/fake_libc_include/_fake_typedefs.h index 8c8d463..1455321 100644 --- a/utils/fake_libc_include/_fake_typedefs.h +++ b/utils/fake_libc_include/_fake_typedefs.h @@ -16,6 +16,14 @@ typedef int __int64_t; typedef int __uint64_t; typedef int __int_least32_t; typedef int __uint_least32_t; +typedef int __s8; +typedef int __u8; +typedef int __s16; +typedef int __u16; +typedef int __s32; +typedef int __u32; +typedef int __s64; +typedef int __u64; typedef int _LOCK_T; typedef int _LOCK_RECURSIVE_T; typedef int _off_t; diff --git a/utils/fake_libc_include/asm-generic/int-ll64.h b/utils/fake_libc_include/asm-generic/int-ll64.h new file mode 100644 index 0000000..f952c1d --- /dev/null +++ b/utils/fake_libc_include/asm-generic/int-ll64.h @@ -0,0 +1,2 @@ +#include "_fake_defines.h" +#include "_fake_typedefs.h" diff --git a/utils/fake_libc_include/linux/socket.h b/utils/fake_libc_include/linux/socket.h new file mode 100644 index 0000000..f952c1d --- /dev/null +++ b/utils/fake_libc_include/linux/socket.h @@ -0,0 +1,2 @@ +#include "_fake_defines.h" +#include "_fake_typedefs.h" |