summaryrefslogtreecommitdiff
path: root/tests/test-setlocale_null-one.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-setlocale_null-one.c')
-rw-r--r--tests/test-setlocale_null-one.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-setlocale_null-one.c b/tests/test-setlocale_null-one.c
index 1aa5eaa49e..9e9bc12e8e 100644
--- a/tests/test-setlocale_null-one.c
+++ b/tests/test-setlocale_null-one.c
@@ -28,6 +28,10 @@
#include "glthread/thread.h"
+/* We want to use the system's setlocale() function here, not the gnulib
+ override. */
+#undef setlocale
+
/* Some common locale names. */