Fix JS_INVALID_PROMISE_STATE macro
This commit is contained in:
parent
d168361207
commit
377e6a6c06
1 changed files with 1 additions and 1 deletions
|
@ -977,7 +977,7 @@ JS_EXTERN int JS_SetModuleExportList(JSContext *ctx, JSModuleDef *m,
|
|||
|
||||
/* Promise */
|
||||
|
||||
#define JS_INVALID_PROMISE_STATE -1
|
||||
#define JS_INVALID_PROMISE_STATE (-1)
|
||||
|
||||
typedef enum JSPromiseStateEnum {
|
||||
JS_PROMISE_PENDING,
|
||||
|
|
Loading…
Reference in a new issue