Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/usr/dummy-include/stddef.h
170847 views
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
#ifndef _DUMMY_STDDEF_H
3
#define _DUMMY_STDDEF_H
4
5
#define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
6
7
#ifdef __cplusplus
8
#define NULL 0
9
#else
10
#define NULL ((void *)0)
11
#endif
12
13
#endif /* _DUMMY_STDDEF_H */
14
15