diff options
Diffstat (limited to 'block-qcow2.c')
-rw-r--r-- | block-qcow2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/block-qcow2.c b/block-qcow2.c index b9f1688663..5f0fbe8f9e 100644 --- a/block-qcow2.c +++ b/block-qcow2.c @@ -61,10 +61,6 @@ #define REFCOUNT_SHIFT 1 /* refcount size is 2 bytes */ -#ifndef offsetof -#define offsetof(type, field) ((size_t) &((type *)0)->field) -#endif - typedef struct QCowHeader { uint32_t magic; uint32_t version; |