source: EcnlProtoTool/trunk/tcc-0.9.26/include/stddef.h@ 279

Last change on this file since 279 was 279, checked in by coas-nagasima, 7 years ago

ファイルを追加、更新。

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 684 bytes
Line 
1#ifndef _STDDEF_H
2#define _STDDEF_H
3
4typedef __SIZE_TYPE__ size_t;
5typedef __PTRDIFF_TYPE__ ssize_t;
6typedef __WCHAR_TYPE__ wchar_t;
7typedef __PTRDIFF_TYPE__ ptrdiff_t;
8typedef __PTRDIFF_TYPE__ intptr_t;
9typedef __SIZE_TYPE__ uintptr_t;
10
11#ifndef __int8_t_defined
12#define __int8_t_defined
13typedef signed char int8_t;
14typedef signed short int int16_t;
15typedef signed int int32_t;
16typedef signed long long int int64_t;
17typedef unsigned char uint8_t;
18typedef unsigned short int uint16_t;
19typedef unsigned int uint32_t;
20typedef unsigned long long int uint64_t;
21#endif
22
23#define NULL ((void*)0)
24#define offsetof(type, field) ((size_t)&((type *)0)->field)
25
26void *alloca(size_t size);
27
28#endif
Note: See TracBrowser for help on using the repository browser.