diff options
author | nfullagar@google.com <nfullagar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-18 19:59:21 +0000 |
---|---|---|
committer | nfullagar@google.com <nfullagar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-18 19:59:21 +0000 |
commit | 19d1f892ae727abb4b5941ae249eb5b48f9f5dc8 (patch) | |
tree | de45e23806ce1145a9db72fbb8f537e83e87edb8 /third_party/npapi/bindings/npapi.h | |
parent | f54962b7878f7dcec1c24da53c35f4dbaf2f83d7 (diff) | |
download | chromium_src-19d1f892ae727abb4b5941ae249eb5b48f9f5dc8.zip chromium_src-19d1f892ae727abb4b5941ae249eb5b48f9f5dc8.tar.gz chromium_src-19d1f892ae727abb4b5941ae249eb5b48f9f5dc8.tar.bz2 |
add temp typedefs so we can bump DEPS in NaCl
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/npapi/bindings/npapi.h')
-rw-r--r-- | third_party/npapi/bindings/npapi.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h index f477653..a8f0ac1 100644 --- a/third_party/npapi/bindings/npapi.h +++ b/third_party/npapi/bindings/npapi.h @@ -48,6 +48,26 @@ #ifdef __native_client__ #include <stdint.h> +#include <sys/types.h> +/* typedefs needed for NaCl DEPS update */ +/* TODO: convert npapi_extensions.h to int32_t, etc */ +/* and remove these typedefs */ +#ifndef _INT32 +#define _INT32 +typedef int int32; +#endif +#ifndef _UINT32 +#define _UINT32 +typedef unsigned int uint32; +#endif +#ifndef _INT16 +#define _INT16 +typedef short int16; +#endif +#ifndef _UINT16 +#define _UINT16 +typedef unsigned short uint16; +#endif #else #include "base/basictypes.h" #endif /* __native_client__ */ |