blob: 8e88b536cf5273f5cb0d12d17d0710ce5c8782f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef __TIME_H
#define __TIME_H
#include "port/sys_internal.h"
#include <time.h>
#if !defined HAVE_LOCALTIME_R || defined TEST_LOCALTIME_R
extern struct tm *wolf_port_localtime_r( const time_t *timep, struct tm *result );
#endif
#if !defined HAVE_LOCALTIME_R
#define localtime_r( timep, result ) wolf_port_localtime_r( timep, result )
#endif
#endif /* ifndef __TIME_H */
|