mirror of https://github.com/aria2/aria2
parent
dc54b90bcc
commit
551adc5133
|
@ -42,6 +42,8 @@ extern "C" {
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#undef asctime_r
|
||||||
|
|
||||||
char * asctime_r (const struct tm*, char*);
|
char * asctime_r (const struct tm*, char*);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -42,6 +42,8 @@ extern "C" {
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#undef localtime_r
|
||||||
|
|
||||||
struct tm * localtime_r(const time_t *clock, struct tm *result);
|
struct tm * localtime_r(const time_t *clock, struct tm *result);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue