/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
contrib/libs/libc_compat/reallocarray/stdlib.h
24 строки
566 B
mikhnenko
Do not undef Y_UCRT_INCLUDE_NEXT if we did not define it
24 май 2023, 11:47
24 май 2023, 11:47
b86d534
Код
Авторство
О чём код?
// The lack of #pragma once is intentional: // its presence breaks compilation of contrib/tools/unbound somehow. #if defined(__GNUC__) || defined(__clang__) #include_next <stdlib.h> #else #ifdef Y_UCRT_INCLUDE_NEXT #include Y_UCRT_INCLUDE_NEXT(stdlib.h) #else #define Y_UCRT_INCLUDE_NEXT(x) <Y_UCRT_INCLUDE/x> #include Y_UCRT_INCLUDE_NEXT(stdlib.h) #undef Y_UCRT_INCLUDE_NEXT #endif #endif #ifdef __cplusplus extern "C" { #endif void* reallocarray(void*, size_t, size_t); #ifdef __cplusplus } // extern "C" #endif