4 * Copyright 2000 Francois Gouget.
6 #ifndef __WINE_STDDEF_H
7 #define __WINE_STDDEF_H
8 #define __WINE_USE_MSVCRT
13 typedef int ptrdiff_t;
15 #ifndef MSVCRT_SIZE_T_DEFINED
16 typedef unsigned int MSVCRT(size_t);
17 #define MSVCRT_SIZE_T_DEFINED
20 /* Best to leave this one alone: wchar_t */
23 #define offsetof(s,m) (size_t)&(((s*)NULL)->m)
30 unsigned long __threadid();
31 unsigned long __threadhandle();
32 #define _threadid (__threadid())
38 #endif /* __WINE_STDDEF_H */