[gjs: 5/6] gjs_pch: Also include the mozjs required defines part of cflags




commit 1bcb9beaef68ac0a90a64a81359cd4060492a14d
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu May 13 15:46:59 2021 +0200

    gjs_pch: Also include the mozjs required defines part of cflags

 gjs/gjs_pch.hh | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gjs/gjs_pch.hh b/gjs/gjs_pch.hh
index b64fd3a5..40976a2e 100644
--- a/gjs/gjs_pch.hh
+++ b/gjs/gjs_pch.hh
@@ -51,6 +51,7 @@
 #endif
 #include <inttypes.h>
 #include <iomanip>
+#include <js/RequiredDefines.h>  // check-pch: ignore, part of mozjs cflags
 #include <js/AllocPolicy.h>
 #include <js/Array.h>
 #include <js/ArrayBuffer.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]