Chromium Code Reviews| Index: native_client_sdk/src/libraries/nacl_io/osinttypes.h |
| diff --git a/native_client_sdk/src/libraries/nacl_io/osinttypes.h b/native_client_sdk/src/libraries/nacl_io/osinttypes.h |
| index 491922c897d47cfbf17410486f877bfd6ff438cc..2b0b92a5043a236a0b8e8dd9e2e656da8c26452e 100644 |
| --- a/native_client_sdk/src/libraries/nacl_io/osinttypes.h |
| +++ b/native_client_sdk/src/libraries/nacl_io/osinttypes.h |
| @@ -34,4 +34,10 @@ |
| #endif |
| +#if !defined(__native_client__) |
| +#define PRIoff "ld" |
| +#else |
| +#define PRIoff "lld" |
| +#endif |
| + |
| #endif /* NACL_IO_OSINTTYPES_H_ */ |