diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2012-09-28 15:54:10 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2012-09-28 16:00:04 +0200 |
commit | ac59899327e6b9dca6e64a6b887322c15120fb48 (patch) | |
tree | 885b869c7227b1c01aa44e179db4f2e753e2dfce | |
parent | c9de555284638a522d8035b8d845c35f213fc966 (diff) | |
download | patch-ac59899327e6b9dca6e64a6b887322c15120fb48.tar.gz |
Use gnulib errno module instead of our own default ENOTSUP fallback
* bootstrap.conf (gnulib_modules): Add errno module.
* src/common.h: Remove ENOTSUP fallback.
-rw-r--r-- | bootstrap.conf | 1 | ||||
-rw-r--r-- | src/common.h | 4 |
2 files changed, 1 insertions, 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 |