From fd07459ba8f06ac8674d3c16c16dd41f00aa492e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 24 Mar 2009 19:20:54 +0100 Subject: added wolf_log_strerror and fixed itoa prototype --- include/wolf/log/log.h | 5 +++++ include/wolf/port/stdlib.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/wolf/log/log.h b/include/wolf/log/log.h index f656f53..c5f2a46 100644 --- a/include/wolf/log/log.h +++ b/include/wolf/log/log.h @@ -302,8 +302,13 @@ void wolf_log( wolf_log_level_t level, int category_id, int message_id, const ch */ void wolf_log_ap( wolf_log_level_t level, int category_id, int message_id, const char *format, va_list ap ); +#if defined _WIN32 void wolf_log_win32( wolf_log_level_t level, int category_id, int message_id, const char *format, ... ); void wolf_log_win32_ap( wolf_log_level_t level, int category_id, int message_id, const char *format, va_list ap ); +#endif + +void wolf_log_strerror( wolf_log_level_t level, int category_id, int message_id, const char *format, ... ); +void wolf_log_strerror_ap( wolf_log_level_t level, int category_id, int message_id, const char *format, va_list ap ); #ifdef __cplusplus } diff --git a/include/wolf/port/stdlib.h b/include/wolf/port/stdlib.h index b3b0515..37e1931 100644 --- a/include/wolf/port/stdlib.h +++ b/include/wolf/port/stdlib.h @@ -37,7 +37,7 @@ extern char *wolf_port_itoa( int value, char *string, int radix ); #endif /* !defined HAVE_ITOA || defined TEST_ITOA */ #if !defined HAVE_ITOA -#define itoa( value, string, radix ) wolf_port_itoa( value, string, radix ); +#define itoa( value, string, radix ) wolf_port_itoa( value, string, radix ) #endif /* !defined HAVE_ITOA */ /** @} */ /* @addtogroup wolf_port */ -- cgit v1.2.3-54-g00ecf