summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fmt_fp.c2
-rw-r--r--src/parse.y5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c
index 9b29093a8..9aeae642c 100644
--- a/src/fmt_fp.c
+++ b/src/fmt_fp.c
@@ -90,7 +90,7 @@ fmt_u(uint32_t x, char *s)
typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)];
#endif
-#ifdef __CYGWIN32__
+#if defined(__CYGWIN32__) || defined(mips)
static long double
frexpl (long double x, int *eptr)
{
diff --git a/src/parse.y b/src/parse.y
index eb78f47d4..2aa5bc9ad 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -6,8 +6,9 @@
%{
#undef PARSER_DEBUG
-
-#define YYDEBUG 1
+#ifdef PARSER_DEBUG
+# define YYDEBUG 1
+#endif
#define YYERROR_VERBOSE 1
/*
* Force yacc to use our memory management. This is a little evil because