Kaydet (Commit) f12d7a02 authored tarafından Guido van Rossum's avatar Guido van Rossum

Jack Jansen, Mac patch:

If we have stat.h include it if we don't have sys/stat.h
üst 63e97ad4
...@@ -16,8 +16,14 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. ...@@ -16,8 +16,14 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>
#ifndef DONT_HAVE_SYS_TYPES_H
#include <sys/types.h> #include <sys/types.h>
#endif
#ifndef DONT_HAVE_SYS_STAT_H
#include <sys/stat.h> #include <sys/stat.h>
#elif defined(HAVE_STAT_H)
#include <stat.h>
#endif
time_t time_t
PyOS_GetLastModificationTime(path, fp) PyOS_GetLastModificationTime(path, fp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment