aboutsummaryrefslogtreecommitdiffstats
path: root/src/solar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/solar.c')
-rw-r--r--src/solar.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/solar.c b/src/solar.c
index eb06ae7..e132522 100644
--- a/src/solar.c
+++ b/src/solar.c
@@ -23,6 +23,11 @@
#include <stdio.h>
#include <stdlib.h>
+#if __GNUC__
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wunsuffixed-float-constants"
+#endif
+
/* Select clock. */
@@ -302,3 +307,8 @@ int libred_check_timetravel(void)
return 0;
}
+
+#if __GNUC__
+# pragma GCC diagnostic pop
+#endif
+