Sweden-Number/include/msvcrt/stddef.h

39 lines
620 B
C
Raw Normal View History

2001-04-11 01:21:43 +02:00
/*
* Time definitions
*
* Copyright 2000 Francois Gouget.
*/
#ifndef __WINE_STDDEF_H
#define __WINE_STDDEF_H
2001-10-22 20:59:23 +02:00
#define __WINE_USE_MSVCRT
2001-04-11 01:21:43 +02:00
#include "winnt.h"
typedef int ptrdiff_t;
#ifndef MSVCRT_SIZE_T_DEFINED
typedef unsigned int MSVCRT(size_t);
#define MSVCRT_SIZE_T_DEFINED
#endif
/* Best to leave this one alone: wchar_t */
2001-04-23 20:22:05 +02:00
#define offsetof(s,m) (size_t)&(((s*)NULL)->m)
2001-04-11 01:21:43 +02:00
#ifdef __cplusplus
extern "C" {
#endif
unsigned long __threadid();
unsigned long __threadhandle();
#define _threadid (__threadid())
#ifdef __cplusplus
}
#endif
#endif /* __WINE_STDDEF_H */