diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-04 17:24:47 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-04 17:24:47 -0800 |
commit | 6de84bc7daffe278f46c4a4fa5c02160799a7a29 (patch) | |
tree | 14840d662dd300c5d8fac9edcd817dbbc95da5ce | |
parent | 26a3a085fc1be4f3d648a2e5e6b05c54f4b04a00 (diff) |
disable emscripten_jcache_printf in non-C++
-rw-r--r-- | system/include/emscripten/emscripten.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/emscripten/emscripten.h b/system/include/emscripten/emscripten.h index e6670869..427dda0c 100644 --- a/system/include/emscripten/emscripten.h +++ b/system/include/emscripten/emscripten.h @@ -364,8 +364,10 @@ extern void EMSCRIPTEN_PROFILE_END(int id); * variables). (You can create a variable to store a complex * expression on the previous line, if necessary.) */ +#ifdef __cplusplus void emscripten_jcache_printf(const char *format, ...); void emscripten_jcache_printf_(...); /* internal use */ +#endif #ifdef __cplusplus } |