diff --git a/include/ac/ctype.h b/include/ac/ctype.h
index b58d96fc6fddfa55926b6a8797532a713276b9d5..b5638fe97d1eb315d49407283fa7396f0615e285 100644
--- a/include/ac/ctype.h
+++ b/include/ac/ctype.h
@@ -16,7 +16,7 @@
 
 #ifdef C_UPPER_LOWER
 # define TOUPPER(c)	(islower(c) ? toupper(c) : (c))
-# define TOLOWER(c)	(islower(c) ? toupper(c) : (c))
+# define TOLOWER(c)	(isupper(c) ? tolower(c) : (c))
 #else
 # define TOUPPER(c)	toupper(c)
 # define TOLOWER(c)	tolower(c)