blob: 9d7a92a9282b68c6c8aa3271821512cfd77eb4a2 [file] [log] [blame]
/*
* include/compiler.h - common compiler defines
*
* Copyright (C) 2015 ARM Limited. All rights reserved.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE.txt file.
*
* Note: we only support GCC.
*/
#ifndef __COMPILER_H
#define __COMPILER_H
#define unreachable() __builtin_unreachable()
#define __noreturn __attribute__((noreturn))
#define __packed __attribute__((packed))
#endif