diff options
-rw-r--r-- | include/mingw.h | 2 | ||||
-rw-r--r-- | win32/mingw.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 5294d9d6c..a97c347e1 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -250,7 +250,7 @@ int waitpid(pid_t pid, int *status, unsigned options); | |||
250 | */ | 250 | */ |
251 | struct tm *gmtime_r(const time_t *timep, struct tm *result); | 251 | struct tm *gmtime_r(const time_t *timep, struct tm *result); |
252 | struct tm *localtime_r(const time_t *timep, struct tm *result); | 252 | struct tm *localtime_r(const time_t *timep, struct tm *result); |
253 | IMPL(strptime,char*,NULL,const char *s UNUSED_PARAM, const char *format UNUSED_PARAM, struct tm *tm UNUSED_PARAM); | 253 | char *strptime(const char *s, const char *format, struct tm *tm); |
254 | 254 | ||
255 | /* | 255 | /* |
256 | * unistd.h | 256 | * unistd.h |
diff --git a/win32/mingw.c b/win32/mingw.c index c87ce2a47..0a7345374 100644 --- a/win32/mingw.c +++ b/win32/mingw.c | |||
@@ -770,3 +770,8 @@ int mingw_unlink(const char *pathname) | |||
770 | chmod(pathname, 0666); | 770 | chmod(pathname, 0666); |
771 | return unlink(pathname); | 771 | return unlink(pathname); |
772 | } | 772 | } |
773 | |||
774 | char *strptime(const char *s, const char *format, struct tm *tm) | ||
775 | { | ||
776 | return NULL; | ||
777 | } | ||