Fix JS_INVALID_PROMISE_STATE macro

This commit is contained in:
Tyler Rockwood 2024-02-26 11:31:03 -06:00 committed by Saúl Ibarra Corretgé
parent d168361207
commit 377e6a6c06

View file

@ -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,