summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-10-04 07:39:18 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-10-04 07:39:18 +0000
commit8dec08f3f34c307b1637e09e18e4a233f1138e86 (patch)
tree83ebfbfca111c2d6218d02e84cbc32dd5cb740f3
parentd5d752a1db8ad216db2fe018012d757c080a5927 (diff)
Fixed typo
-rw-r--r--src/htssafe.h2
1 files changed, 1 insertions, 1 deletions
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++) ;