From: Adam Dickmeiss Date: Tue, 19 Jan 2010 09:47:54 +0000 (+0100) Subject: log: strerror is always there X-Git-Tag: v4.0.0~19 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=d1b7e8b23770a100ae1baa74da31b0b2fd8ea0b2;hp=155ca4a5ebeb7827e1dd280dbd64e56f40e3bb4b;p=yaz-moved-to-github.git log: strerror is always there --- diff --git a/src/log.c b/src/log.c index 0463a62..05f79d4 100644 --- a/src/log.c +++ b/src/log.c @@ -32,21 +32,6 @@ #include #include -#define HAS_STRERROR 1 - - -#if HAS_STRERROR - -#else -char *strerror(int n) -{ - extern char *sys_errlist[]; - return sys_errlist[n]; -} - -#endif - - static int l_level = YLOG_DEFAULT_LEVEL; enum l_file_type { use_stderr, use_none, use_file };