diff options
author | tysand@chromium.org <tysand@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 01:42:56 +0000 |
---|---|---|
committer | tysand@chromium.org <tysand@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 01:42:56 +0000 |
commit | aa4b29564773da61eed883c4aafa2ba7fa1c3437 (patch) | |
tree | 247ca0dbdb1db338ef2f90ca5dcd92a5b7ef5108 /native_client_sdk | |
parent | d5d77fcfbdaced23d4d8dcd493a45765389ccd06 (diff) | |
download | chromium_src-aa4b29564773da61eed883c4aafa2ba7fa1c3437.zip chromium_src-aa4b29564773da61eed883c4aafa2ba7fa1c3437.tar.gz chromium_src-aa4b29564773da61eed883c4aafa2ba7fa1c3437.tar.bz2 |
Fixed file io example for glibc
Changed headers in file io example to be glibc compatible
BUG=132123
TEST=
Review URL: https://chromiumcodereview.appspot.com/10539146
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142062 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk')
-rw-r--r-- | native_client_sdk/src/examples/file_io/file_io.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/native_client_sdk/src/examples/file_io/file_io.cc b/native_client_sdk/src/examples/file_io/file_io.cc index f046356..8e23a0d 100644 --- a/native_client_sdk/src/examples/file_io/file_io.cc +++ b/native_client_sdk/src/examples/file_io/file_io.cc @@ -5,10 +5,8 @@ /// @file file_io.cc /// This example demonstrates the use of persistent file I/O -#include <limits.h> -#include <stddef.h> -#include <stdio.h> - +#define __STDC_LIMIT_MACROS +#include <stdint.h> #include <sstream> #include <string> |