diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-10-27 22:05:31 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-10-27 22:05:31 +0200 |
commit | 8d9147a7645458f7548f972fef1f5f2ac10cccce (patch) | |
tree | a42b12902f9a8b743a9a71c4c02abc7b55e6404a | |
parent | b7c145daa49bfbd36263bf617faad382bbaf9df9 (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
-rw-r--r-- | src/REAL.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |