/
niceSOFT
/
njs
Обзор
Документация
Войти
/
niceSOFT
/
njs
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/quickjs_compat.h
23 строки
480 B
Vadim Zhestikov
QuickJS: fix nginx configure with not configured njs module.
03 сен 2025, 19:28
03 сен 2025, 19:28
99aac0d
Код
Авторство
О чём код?
/* * Copyright (C) F5, Inc. */ #ifndef __has_warning #define __has_warning(x) 0 #endif #if (defined(__GNUC__) && (__GNUC__ >= 8)) \ || (defined(__clang__) && __has_warning("-Wcast-function-type")) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-function-type" #include <quickjs.h> #pragma GCC diagnostic pop #else #include <quickjs.h> #endif #ifndef JS_BOOL #define JS_BOOL bool #endif