Commit 6d2cf023 authored by Alexandre Julliard's avatar Alexandre Julliard

libport: Remove the lstat() implementation.

parent 9df97676
......@@ -17908,7 +17908,6 @@ for ac_func in \
getifaddrs \
getrandom \
kqueue \
lstat \
mach_continuous_time \
pipe2 \
port_create \
......
......@@ -2139,7 +2139,6 @@ AC_CHECK_FUNCS(\
getifaddrs \
getrandom \
kqueue \
lstat \
mach_continuous_time \
pipe2 \
port_create \
......
......@@ -348,9 +348,6 @@
/* Define to 1 if you have the <linux/videodev2.h> header file. */
#undef HAVE_LINUX_VIDEODEV2_H
/* Define to 1 if you have the `lstat' function. */
#undef HAVE_LSTAT
/* Define to 1 if you have the <lwp.h> header file. */
#undef HAVE_LWP_H
......
......@@ -99,10 +99,6 @@ static inline const char *dlerror(void) { return "No dlopen support on Windows";
* Function definitions (only when using libwine_port)
*/
#ifndef HAVE_LSTAT
int lstat(const char *file_name, struct stat *buf);
#endif /* HAVE_LSTAT */
#ifndef HAVE_READLINK
int readlink( const char *path, char *buf, size_t size );
#endif /* HAVE_READLINK */
......
STATICLIB = libwine_port.a
C_SRCS = \
lstat.c \
readlink.c \
symlink.c
/*
* lstat function
*
* Copyright 1996 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#ifndef HAVE_LSTAT
int lstat(const char *file_name, struct stat *buf)
{
return stat( file_name, buf );
}
#endif /* HAVE_LSTAT */
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