cppcheck/addons/y2038/test/y2038-test-4-good.c

16 lines
267 B
C

/*
* Define _TIME_BITS equal to 64 so that glibc knows we want Y2038 support.
*/
#define _TIME_BITS 64
#include "y2038-inc.h"
int main(int argc, char **argv)
{
clockid_t my_clk_id;
struct timespec *my_tp;
return clock_gettime( my_clk_id, &my_tp);
}