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

Commit

Permalink
#define JS_NO_JSVAL_JSID_STRUCT_TYPES
Browse files Browse the repository at this point in the history
This is needed ir oder to compile release and debug builds
  • Loading branch information
ricardoquesada committed Oct 30, 2013
1 parent 682eb9e commit 0316846
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/src/jspubtd.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ struct Zone;
* oblivious to the change. This feature can be explicitly disabled in debug
* builds by defining JS_NO_JSVAL_JSID_STRUCT_TYPES.
*/
// 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 0316846

Please sign in to comment.