mirror of
https://github.com/corda/corda.git
synced 2025-01-15 01:10:33 +00:00
add common.h for common includes, macros, etc.
This commit is contained in:
parent
3a2f478521
commit
253723b5cc
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
|
Loading…
Reference in New Issue
Block a user