All supported FreeBSD version has getline now

This commit is contained in:
Baptiste Daroussin 2013-03-20 00:36:50 +01:00 committed by Michael Stapelberg
parent 056168494c
commit eb601a2615
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
#endif
/* For systems without getline, fall back to fgetln */
#if defined(__APPLE__) || (defined(__FreeBSD__) && __FreeBSD_version < 800000)
#if defined(__APPLE__)
#define USE_FGETLN
#elif defined(__FreeBSD__)
/* Defining this macro before including stdio.h is necessary in order to have