Sha256: 9aa2f36bcd062a98aef1294413c19b9c18352eef0384ad8abb772abe00055f23

Contents?: true

Size: 343 Bytes

Versions: 5

Compression:

Stored size: 343 Bytes

Contents

#ifndef _STDDEF_H
#define _STDDEF_H

#define NULL 0L

#define __NEED_ptrdiff_t
#define __NEED_size_t
#define __NEED_wchar_t

#include <bits/alltypes.h>

#if __GNUC__ > 3
#define offsetof(type, member) __builtin_offsetof(type, member)
#else
#define offsetof(type, member) ((size_t)( (char *)&(((type *)0)->member) - (char *)0 ))
#endif

#endif

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
webruby-0.2.7 modules/emscripten/system/include/libc/stddef.h
webruby-0.2.5 modules/emscripten/system/include/libc/stddef.h
webruby-0.2.4 modules/emscripten/system/include/libc/stddef.h
webruby-0.2.2 modules/emscripten/system/include/libc/stddef.h
webruby-0.2.1 modules/emscripten/system/include/libc/stddef.h