You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
566 B
20 lines
566 B
/* This file is a part of MIR project.
|
|
Copyright (C) 2020-2021 Vladimir Makarov <vmakarov.gcc@gmail.com>.
|
|
*/
|
|
|
|
/* See C11 7.19 */
|
|
static char stddef_str[]
|
|
= "#ifndef __STDDEF_H\n"
|
|
"#define __STDDEF_H\n"
|
|
"\n"
|
|
"typedef long ptrdiff_t;\n"
|
|
"typedef unsigned long size_t;\n"
|
|
"typedef long double max_align_t;\n"
|
|
"typedef unsigned int wchar_t;\n"
|
|
"\n"
|
|
"#define NULL ((void *) 0)\n"
|
|
"\n"
|
|
"#define offsetof(type, member_designator) ((size_t) & ((type *) 0)->member_designator)\n"
|
|
"\n"
|
|
"#endif /* #ifndef __STDDEF_H */\n";
|