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

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

Issue 269593011: [NaCl SDK] Modifying size_t and int to off_t. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Place __STDC_FORMAT_MACROS inside conditional block Created 6 years, 8 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 1c907a30dfef48405e9911ebfb30550ce55f8bd3..491922c897d47cfbf17410486f877bfd6ff438cc 100644
--- a/native_client_sdk/src/libraries/nacl_io/osinttypes.h
+++ b/native_client_sdk/src/libraries/nacl_io/osinttypes.h
@@ -19,6 +19,9 @@
#else
+#if !defined(__STDC_FORMAT_MACROS)
+#define __STDC_FORMAT_MACROS 1
+#endif
#include <inttypes.h>
#if !defined(PRIuS)
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/node.cc ('k') | native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698