From 8dec08f3f34c307b1637e09e18e4a233f1138e86 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Sat, 4 Oct 2014 07:39:18 +0000 Subject: Fixed typo --- src/htssafe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/htssafe.h b/src/htssafe.h index 803534d..ddb1b4f 100644 --- a/src/htssafe.h +++ b/src/htssafe.h @@ -176,7 +176,7 @@ static HTS_UNUSED void htssafe_compile_time_check_(void) { "overflow while copying '" #B "' to '"#A"'", __FILE__, __LINE__) /** strnlen replacement (autotools). **/ -#if ( ! defined(WIN32) && ! defined(HAVE_STRNLEN) ) +#if ( ! defined(_WIN32) && ! defined(HAVE_STRNLEN) ) static HTS_UNUSED size_t strnlen(const char *s, size_t maxlen) { size_t i; for(i = 0 ; i < maxlen && s[i] != '\0' ; i++) ; -- cgit v1.2.3