mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 21:36:21 +00:00
use internal implementation of getline
MacOS doesn't have function getline
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
|
||||
#if !GLIB_CHECK_VERSION(2,28,0)
|
||||
@@ -41,5 +42,6 @@ char * str_replace(const char *string, const char *substr,
|
||||
const char *replacement);
|
||||
int str_contains(char str[], int size, char ch);
|
||||
char* encode_xml(const char * const xml);
|
||||
char * prof_getline(FILE *stream);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user