std.cfg: Attempt to fix failing CI
This commit is contained in:
parent
72ba85a2fc
commit
e9641e6de5
|
@ -23,7 +23,9 @@
|
|||
#include <time.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#ifndef __STDC_NO_THREADS__
|
||||
#include <threads.h>
|
||||
#endif
|
||||
#include <inttypes.h>
|
||||
#include <float.h>
|
||||
|
||||
|
@ -4364,6 +4366,7 @@ void nullPointer_system(char *c)
|
|||
(void)system(c);
|
||||
}
|
||||
|
||||
#ifndef __STDC_NO_THREADS__
|
||||
int nullPointer_mtx_timedlock( mtx_t *restrict mutex, const struct timespec *restrict time_point )
|
||||
{
|
||||
// cppcheck-suppress nullPointer
|
||||
|
@ -4372,6 +4375,7 @@ int nullPointer_mtx_timedlock( mtx_t *restrict mutex, const struct timespec *res
|
|||
(void) mtx_timedlock(mutex, NULL);
|
||||
return mtx_timedlock(mutex, time_point);
|
||||
}
|
||||
#endif
|
||||
|
||||
void uninitvar_zonetime(void)
|
||||
{
|
||||
|
|
|
@ -26,7 +26,9 @@
|
|||
#include <cwchar>
|
||||
#include <fstream>
|
||||
#include <functional>
|
||||
#include <threads.h>
|
||||
#ifndef __STDC_NO_THREADS__
|
||||
#include <threads.h>
|
||||
#endif
|
||||
#include <iomanip>
|
||||
#include <ios>
|
||||
#include <iostream>
|
||||
|
@ -3661,6 +3663,8 @@ void uninitvar_system(void)
|
|||
(void)std::system(c);
|
||||
}
|
||||
|
||||
#ifndef __STDC_NO_THREADS__
|
||||
|
||||
void nullPointer_mtx_destroy( mtx_t *mutex )
|
||||
{
|
||||
// cppcheck-suppress nullPointer
|
||||
|
@ -3690,6 +3694,7 @@ int nullPointer_mtx_timedlock( mtx_t *mutex, const struct timespec *time_point )
|
|||
(void) mtx_timedlock(mutex, nullptr);
|
||||
return mtx_timedlock(mutex, time_point);
|
||||
}
|
||||
#endif
|
||||
|
||||
void nullPointer_system(char *c)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue