* Authors:
* Jonathan Pryor (jonpryor@vt.edu)
*
- * Copyright (C) 2004 Jonathan Pryor
+ * Copyright (C) 2004-2006 Jonathan Pryor
*/
#include <sys/types.h>
G_BEGIN_DECLS
-struct Mono_Posix_Timeval {
- /* time_t */ mph_time_t tv_sec; /* seconds */
- /* suseconds_t */ gint64 tv_usec; /* microseconds */
-};
-
-struct Mono_Posix_Timezone {
- int tz_minuteswest; /* minutes W of Greenwich */
- int tz_dsttime; /* ignored */
-};
-
gint32
Mono_Posix_Syscall_gettimeofday (
struct Mono_Posix_Timeval *tv,
return utimes (filename, ptv);
}
+#ifdef HAVE_LUTIMES
gint32
Mono_Posix_Syscall_lutimes(const char *filename, struct Mono_Posix_Timeval *tv)
{
return lutimes (filename, ptv);
}
+#endif /* def HAVE_LUTIMES */
gint32
Mono_Posix_Syscall_futimes(int fd, struct Mono_Posix_Timeval *tv)