summaryrefslogtreecommitdiff
path: root/libdecnumber/decNumber.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdecnumber/decNumber.c')
-rw-r--r--libdecnumber/decNumber.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdecnumber/decNumber.c b/libdecnumber/decNumber.c
index bc11ace8787..3f5cc9f3a44 100644
--- a/libdecnumber/decNumber.c
+++ b/libdecnumber/decNumber.c
@@ -149,6 +149,10 @@
/* -ve -- negative */
/* ------------------------------------------------------------------ */
+/* Some of glibc's string inlines cause warnings. Plus we'd rather
+ rely on (and therefore test) GCC's string builtins. */
+#define __NO_STRING_INLINES
+
#include <stdlib.h> /* for malloc, free, etc. */
#include <stdio.h> /* for printf [if needed] */
#include <string.h> /* for strcpy */