update autoconf for latest compat functions
This commit is contained in:
@@ -33,7 +33,6 @@ noinst_HEADERS = tls_internal.h
|
||||
|
||||
if HOST_WIN
|
||||
libtls_la_SOURCES += compat/ftruncate.c
|
||||
libtls_la_SOURCES += compat/getuid.c
|
||||
libtls_la_SOURCES += compat/pread.c
|
||||
libtls_la_SOURCES += compat/pwrite.c
|
||||
endif
|
||||
|
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
* Public domain
|
||||
*
|
||||
* Kinichiro Inoguchi <inoguchi@openbsd.org>
|
||||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
uid_t
|
||||
getuid(void)
|
||||
{
|
||||
/* Windows fstat sets 0 as st_uid */
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user