From ac59899327e6b9dca6e64a6b887322c15120fb48 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Fri, 28 Sep 2012 15:54:10 +0200 Subject: Use gnulib errno module instead of our own default ENOTSUP fallback * bootstrap.conf (gnulib_modules): Add errno module. * src/common.h: Remove ENOTSUP fallback. --- bootstrap.conf | 1 + src/common.h | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/bootstrap.conf b/bootstrap.conf index a549668..7649539 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -24,6 +24,7 @@ clock-time diffseq dirname dup2 +errno exitfail extensions fcntl-h diff --git a/src/common.h b/src/common.h index 41b719f..a66e55f 100644 --- a/src/common.h +++ b/src/common.h @@ -214,7 +214,3 @@ bool merge_hunk (int hunk, struct outstate *, lin where, bool *); #else # define merge_hunk(hunk, outstate, where, somefailed) false #endif - -#ifndef ENOTSUP -#define ENOTSUP (-1) -#endif -- cgit v1.2.1