Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: native_client_sdk/src/libraries/nacl_io/osinttypes.h

Issue 443693002: [NaCl SDK] nacl_io: Remove use of new/delete for data buffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_ */

Powered by Google App Engine
This is Rietveld 408576698