History

win64: defined size_t and ptrdiff_t to unsigned long long

grischka committed 16 years ago

Commit e20bf691 parent b0abcfd3 files · +43 −31Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/stddef.h+14−6
@@ -1,20 +1,28 @@
1#ifndef _STDDEF_H1#ifndef _STDDEF_H
2#define _STDDEF_H2#define _STDDEF_H
3 3
4#define NULL ((void *)0)
5typedef __SIZE_TYPE__ size_t;4typedef __SIZE_TYPE__ size_t;
5typedef __PTRDIFF_TYPE__ ssize_t;
6typedef __WCHAR_TYPE__ wchar_t;6typedef __WCHAR_TYPE__ wchar_t;
7typedef __PTRDIFF_TYPE__ ptrdiff_t;7typedef __PTRDIFF_TYPE__ ptrdiff_t;
8#define offsetof(type, field) ((size_t) &((type *)0)->field)8typedef __PTRDIFF_TYPE__ intptr_t;
9typedef __SIZE_TYPE__ uintptr_t;
9 10
10#ifndef __int8_t_defined11#ifndef __int8_t_defined
11#define __int8_t_defined12#define __int8_t_defined
12typedef char int8_t;13typedef signed char int8_t;
13typedef short int int16_t;14typedef signed short int int16_t;
14typedef int int32_t;15typedef signed int int32_t;
15typedef long long int int64_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;
16#endif21#endif
17 22
23#define NULL ((void *)0)
24#define offsetof(type, field) ((size_t)&((type *)0)->field)
25
18void *alloca(size_t size);26void *alloca(size_t size);
19 27
20#endif28#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t