From d1b7e8b23770a100ae1baa74da31b0b2fd8ea0b2 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 19 Jan 2010 10:47:54 +0100 Subject: [PATCH] log: strerror is always there --- src/log.c | 15 --------------- 1 file changed, 15 deletions(-) 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 }; -- 1.7.10.4