My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

getline.h 280B

123456789101112
  1. #ifndef MYGETLINE_H
  2. #define MYGETLINE_H
  3. //#include "config.h"
  4. #if !HAVE_GETLINE
  5. #include <stdio.h>
  6. ssize_t getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp);
  7. #define getline(lineptr, n, stream) getdelim (lineptr, n, '\n', stream)
  8. #endif
  9. #endif // MYGETLINE_H