gkdr / libomemo

Implements OMEMO in C.
MIT License
55 stars 16 forks source link

use DEFAULT_SOURCE instead of BSD_SOURCE #17

Closed rmader closed 6 years ago

rmader commented 7 years ago

BSD_SOURCE is deprecated and its use triggers the following warning (since glibc 2.20 AFAIK):

/usr/include/features.h:180: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"
   ^~~~~~~

This shouldn't make any problems as it's been a long time.