Revision ac509d88 block-qcow2.c

b/block-qcow2.c
61 61

  
62 62
#define REFCOUNT_SHIFT 1 /* refcount size is 2 bytes */
63 63

  
64
#ifndef offsetof
65
#define offsetof(type, field) ((size_t) &((type *)0)->field)
66
#endif
67

  
68 64
typedef struct QCowHeader {
69 65
    uint32_t magic;
70 66
    uint32_t version;

Also available in: Unified diff