aboutsummaryrefslogtreecommitdiff
path: root/block-qcow2.c
diff options
context:
space:
mode:
Diffstat (limited to 'block-qcow2.c')
-rw-r--r--block-qcow2.c4
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;