update autoconf for latest compat functions

This commit is contained in:
Brent Cook
2019-01-31 09:45:56 -06:00
parent 495a1b6316
commit a6d7ea9562
10 changed files with 107 additions and 19 deletions

View File

@@ -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

View File

@@ -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