From aed34f7b3bd5a919dc547a637bc0534b08214c16 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 30 Jun 2021 17:24:41 -0700 Subject: [PATCH] remove unlink configuration check and Windows shim Nothing in Graphviz uses unlink. --- configure.ac | 2 +- windows/include/unistd.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ea4cb1fd2..68634d429 100644 --- a/configure.ac +++ b/configure.ac @@ -468,7 +468,7 @@ LIBS=$save_LIBS # Checks for library functions AC_CHECK_FUNCS([lrand48 drand48 srand48 setmode setenv getenv \ cbrt getpagesize \ - ftruncate lseek64 stat64 unlink select]) + ftruncate lseek64 stat64 select]) AC_REPLACE_FUNCS([strcasestr]) diff --git a/windows/include/unistd.h b/windows/include/unistd.h index cd9be941d..cc8e95598 100644 --- a/windows/include/unistd.h +++ b/windows/include/unistd.h @@ -24,7 +24,6 @@ #define dup2 _dup2 #define execve _execve #define ftruncate _chsize -#define unlink _unlink #define fileno _fileno #define getcwd _getcwd #define chdir _chdir -- 2.40.0