Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Commit

Permalink
PATCH: Don't use JSVAL ids for ABI compatibility
Browse files Browse the repository at this point in the history
...since cocos2d SpiderMonkey as a static library and needs to have the
same ABI both on debug and release mode
  • Loading branch information
ricardoquesada committed May 14, 2013
1 parent 1bc3bc2 commit 2adedb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/src/jspubtd.h
Expand Up @@ -39,6 +39,9 @@ namespace JS { class Value; }
*/
#ifdef __cplusplus

// Needed for cocos2d-js
#define JS_NO_JSVAL_JSID_STRUCT_TYPES

# if defined(DEBUG) && !defined(JS_NO_JSVAL_JSID_STRUCT_TYPES)
# define JS_USE_JSID_STRUCT_TYPES
# endif
Expand Down

0 comments on commit 2adedb0

Please sign in to comment.