mirror of
https://github.com/corda/corda.git
synced 2025-06-19 07:38:22 +00:00
add common.h for common includes, macros, etc.
This commit is contained in:
7
src/common.h
Normal file
7
src/common.h
Normal file
@ -0,0 +1,7 @@
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
|
||||
#define NO_RETURN __attribute__((noreturn))
|
||||
#define UNLIKELY(v) __builtin_expect(v, 0)
|
||||
|
||||
#endif//COMMON_H
|
Reference in New Issue
Block a user