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 #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