Revision ac509d88 exec-all.h

b/exec-all.h
256 256

  
257 257
TranslationBlock *tb_find_pc(unsigned long pc_ptr);
258 258

  
259
#ifndef offsetof
260
#define offsetof(type, field) ((size_t) &((type *)0)->field)
261
#endif
262

  
263 259
#if defined(_WIN32)
264 260
#define ASM_DATA_SECTION ".section \".data\"\n"
265 261
#define ASM_PREVIOUS_SECTION ".section .text\n"

Also available in: Unified diff