summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-10-27 22:05:31 +0200
committerHarald Welte <laforge@gnumonks.org>2017-10-27 22:05:31 +0200
commit8d9147a7645458f7548f972fef1f5f2ac10cccce (patch)
treea42b12902f9a8b743a9a71c4c02abc7b55e6404a /src
parentb7c145daa49bfbd36263bf617faad382bbaf9df9 (diff)
Fix compiler warning
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Change-Id: I442e60413b3bee6d365cd5df672a558d68998670
Diffstat (limited to 'src')
-rw-r--r--src/REAL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/REAL.c b/src/REAL.c
index e179152..2994b74 100644
--- a/src/REAL.c
+++ b/src/REAL.c
@@ -3,7 +3,7 @@
* Redistribution and modifications are permitted subject to BSD license.
*/
#define _ISOC99_SOURCE /* For ilogb() and quiet NAN */
-#define _BSD_SOURCE /* To reintroduce finite(3) */
+#define _DEFAULT_SOURCE /* To reintroduce finite(3) */
#if defined(__alpha)
#include <sys/resource.h> /* For INFINITY */
#endif