diff options
Diffstat (limited to 'bindings/linux/inttypes.h')
-rw-r--r-- | bindings/linux/inttypes.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bindings/linux/inttypes.h b/bindings/linux/inttypes.h new file mode 100644 index 0000000..e7a6e42 --- /dev/null +++ b/bindings/linux/inttypes.h @@ -0,0 +1,22 @@ +/* + * upb - a minimalist implementation of protocol buffers. + * + * Copyright (c) 2012 Google Inc. See LICENSE for details. + * Author: Josh Haberman <jhaberman@gmail.com> + */ + +#ifndef PRId64 +#define PRId64 "ld" +#endif + +#ifndef PRIu64 +#define PRIu64 "lu" +#endif + +#ifndef PRId32 +#define PRId32 "d" +#endif + +#ifndef PRIu32 +#define PRIu32 "u" +#endif |