c - How to avoid including "-D_BSD_SOURCE" in compile statement every time the code is compiled? -
to avoid whole bunch of strdup
errors, have include -d_bsd_source
in compile statement. there way can somehow include in .c
file , never include in compile statement again.
at top of .c file, before includes, put this:
#define _bsd_source
Comments
Post a Comment