4 * Copyright 2000 Francois Gouget.
6 #ifndef __WINE_STDDEF_H
7 #define __WINE_STDDEF_H
12 typedef int ptrdiff_t;
14 #ifndef MSVCRT_SIZE_T_DEFINED
15 typedef unsigned int MSVCRT(size_t);
16 #define MSVCRT_SIZE_T_DEFINED
19 /* Best to leave this one alone: wchar_t */
22 #define offsetof(s,m) (size_t)&(((s*)NULL)->m)
29 unsigned long __threadid();
30 unsigned long __threadhandle();
31 #define _threadid (__threadid())
37 #endif /* __WINE_STDDEF_H */