diff options
author | Iain Merrick <husky@google.com> | 2010-11-29 15:36:26 +0000 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2010-11-29 15:36:26 +0000 |
commit | ac19268a36d583df2d7ac763b9e3fc6ec6da40cc (patch) | |
tree | a3b10958f4b936e3fafc81b2a045bad945336af5 /libs | |
parent | 6f5dfc6b3c18752a3123e7e8b7a801ef3d55d5a4 (diff) | |
download | frameworks_base-ac19268a36d583df2d7ac763b9e3fc6ec6da40cc.zip frameworks_base-ac19268a36d583df2d7ac763b9e3fc6ec6da40cc.tar.gz frameworks_base-ac19268a36d583df2d7ac763b9e3fc6ec6da40cc.tar.bz2 |
Fix 'BCCscript' build break.
frameworks/compile/libbcc/include/bcc/bcc.h was updated
in change I3f3d31fc. What used to be "struct BCCscript"
is now "class bcc::BCCscript" for C++ code.
Looks like the framework/base header rsScriptC.h is just
trying to forward-declare the same type, so we just need
to make the same change there.
Change-Id: I6f6f9dd7608af01d519c2e26fd9b5e6649f71902
Diffstat (limited to 'libs')
-rw-r--r-- | libs/rs/rsScriptC.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/rs/rsScriptC.h b/libs/rs/rsScriptC.h index 4f0dff3..ab2db5c8 100644 --- a/libs/rs/rsScriptC.h +++ b/libs/rs/rsScriptC.h @@ -21,7 +21,9 @@ #include "RenderScriptEnv.h" -struct BCCscript; +namespace bcc { +class BCCscript; +} // --------------------------------------------------------------------------- namespace android { @@ -46,7 +48,7 @@ public: Program_t mProgram; - BCCscript* mBccScript; + bcc::BCCscript* mBccScript; const Allocation *ptrToAllocation(const void *) const; |