Commit 50792143 authored by Alexandre Julliard's avatar Alexandre Julliard

Warnings fixes.

parent 3f1ed52d
......@@ -10,6 +10,7 @@
#include "config.h"
#include "winnt.h"
#include <fcntl.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
......
......@@ -389,8 +389,8 @@ int lstat(const char *file_name, struct stat *buf)
}
#endif /* HAVE_LSTAT */
static void
_convert_stat_stat64(struct stat64 *stto,struct stat *stfrom)
#if !defined(HAVE_STAT64) || !defined(HAVE_LSTAT64) || !defined(HAVE_FSTAT64)
static void _convert_stat_stat64(struct stat64 *stto,struct stat *stfrom)
{
stto->st_dev = stfrom->st_dev;
stto->st_ino = stfrom->st_ino;
......@@ -406,6 +406,7 @@ _convert_stat_stat64(struct stat64 *stto,struct stat *stfrom)
stto->st_ctime = stfrom->st_ctime;
stto->st_size = (off64_t)stfrom->st_size;
}
#endif /* HAVE_STAT64 || HAVE_LSTAT64 || HAVE_FSTAT64 */
/***********************************************************************
* stat64
......
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