mirror of
https://github.com/lifegpc/c-utils.git
synced 2026-06-06 05:08:45 +08:00
Fix bug
This commit is contained in:
@@ -1,10 +1,18 @@
|
|||||||
#ifndef STRPTIME_H
|
#ifndef STRPTIME_H
|
||||||
#define STRPTIME_H
|
#define STRPTIME_H
|
||||||
|
|
||||||
|
#if __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
char* strptime(const char *buf, const char *fmt, struct tm *tm);
|
char* strptime(const char *buf, const char *fmt, struct tm *tm);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // STRPTIME_H
|
#endif // STRPTIME_H
|
||||||
|
|||||||
Reference in New Issue
Block a user