Unverified Commit d1042c9d by Stéphane Graber Committed by GitHub

Merge pull request #3593 from brauner/2020-12-07/bugfixes

2020 12 07/bugfixes
parents 065d331a abd833eb
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
#define PATH_MAX 4096 #define PATH_MAX 4096
#endif #endif
#ifndef MAX_GRBUF_SIZE
#define MAX_GRBUF_SIZE 2097152
#endif
#define INT64_FMT "%" PRId64 #define INT64_FMT "%" PRId64
/* Define __S_ISTYPE if missing from the C library. */ /* Define __S_ISTYPE if missing from the C library. */
......
...@@ -6,10 +6,6 @@ ...@@ -6,10 +6,6 @@
/* Properly support loop devices on 32bit systems. */ /* Properly support loop devices on 32bit systems. */
#define _FILE_OFFSET_BITS 64 #define _FILE_OFFSET_BITS 64
#ifndef MAX_GRBUF_SIZE
#define MAX_GRBUF_SIZE 65536
#endif
#include <errno.h> #include <errno.h>
#include <linux/loop.h> #include <linux/loop.h>
#include <linux/types.h> #include <linux/types.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment