mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-08 14:46:27 +00:00
88724d5f95
This was SVN commit r2549.
14 lines
351 B
C
14 lines
351 B
C
#define XP_WIN
|
|
|
|
#include <jsapi.h>
|
|
#include <jsatom.h>
|
|
#ifndef NDEBUG
|
|
# include <jsdbgapi.h>
|
|
#endif
|
|
|
|
// Make JS debugging a little easier by automatically naming GC roots
|
|
// Don't simply #define NAME_ALL_GC_ROOTS, because jsapi.h is horridly broken
|
|
#ifndef NDEBUG
|
|
# define JS_AddRoot(cx, rp) JS_AddNamedRoot((cx), (rp), __FILE__ )
|
|
#endif
|