All supported FreeBSD version has getline now
This commit is contained in:
parent
056168494c
commit
eb601a2615
@ -13,7 +13,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* For systems without getline, fall back to fgetln */
|
/* For systems without getline, fall back to fgetln */
|
||||||
#if defined(__APPLE__) || (defined(__FreeBSD__) && __FreeBSD_version < 800000)
|
#if defined(__APPLE__)
|
||||||
#define USE_FGETLN
|
#define USE_FGETLN
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__)
|
||||||
/* Defining this macro before including stdio.h is necessary in order to have
|
/* Defining this macro before including stdio.h is necessary in order to have
|
||||||
|
Loading…
Reference in New Issue
Block a user