blob: 58a519e523c937edf6da717921b4d39d89fda5d3 [file] [log] [blame]
/*
* Copyright (c) 2012-2017 Roberto E. Vargas Caballero
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*
* Portions copyright (c) 2018-2019, ARM Limited and Contributors.
* All rights reserved.
*/
#ifndef STDDEF_H
#define STDDEF_H
#include <stddef_.h>
#ifndef _PTRDIFF_T
typedef long ptrdiff_t;
#define _PTRDIFF_T
#endif
#ifndef NULL
#define NULL ((void *) 0)
#endif
#define offsetof(st, m) __builtin_offsetof(st, m)
#endif /* STDDEF_H */