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.
27 lines
452 B
27 lines
452 B
/*
|
|
* 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 */
|
|
|