3DPrinters/AnetA8/Marlin/Marlin-2.0.9.3/buildroot/share/fonts/getline.h

13 lines
280 B
C
Raw Normal View History

2022-02-02 17:56:23 +01:00
#ifndef MYGETLINE_H
#define MYGETLINE_H
//#include "config.h"
#if !HAVE_GETLINE
#include <stdio.h>
ssize_t getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp);
#define getline(lineptr, n, stream) getdelim (lineptr, n, '\n', stream)
#endif
#endif // MYGETLINE_H