summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-01-06 10:53:55 -0700
committerJohn Stebbins <[email protected]>2019-01-14 13:36:08 -0800
commitb5bc28290b4c33a5cafb1d55abb1dc0f688a9d53 (patch)
tree86eb0a80c54d1aaad9a8a3cdd97c7eaa5d994f58 /libhb/common.h
parentef1e5ad9fd6ab564523660567a023ac57e3eeb6f (diff)
Add hb_getline since mingw doesn't have getline function
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 1cdee684e..076ecf3db 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -1387,6 +1387,8 @@ const char * hb_x264_encopt_name( const char * name );
const char * hb_x265_encopt_name( const char * name );
#endif
+size_t hb_getline(char **lineptr, size_t *n, FILE *fp);
+
#define HB_NEG_FLOAT_REG "(([-])?(([0-9]+([.,][0-9]+)?)|([.,][0-9]+))"
#define HB_FLOAT_REG "(([0-9]+([.,][0-9]+)?)|([.,][0-9]+))"
#define HB_NEG_INT_REG "(([-]?[0-9]+)"