libport: Remove the lstat() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9df976766f
commit
6d2cf0230e
|
@ -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 */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
STATICLIB = libwine_port.a
|
||||
|
||||
C_SRCS = \
|
||||
lstat.c \
|
||||
readlink.c \
|
||||
symlink.c
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
/*
|
||||
* 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 */
|
Loading…
Reference in New Issue