This repository has been archived on 2020-07-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
gitea-marlin2/Marlin-bugfix-2.0.x/buildroot/share/fonts/getline.h
Xavier Perignon b5c4eadb9b bugfix
2020-06-15 14:28:33 +02:00

13 lines
280 B
C

#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