mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
13 lines
280 B
C
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
|