diff options
Diffstat (limited to 'include/compile_time_macros.h')
-rw-r--r-- | include/compile_time_macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compile_time_macros.h b/include/compile_time_macros.h index 074fb4b256..9b543f9493 100644 --- a/include/compile_time_macros.h +++ b/include/compile_time_macros.h @@ -23,4 +23,6 @@ #define offsetof(type, member) __builtin_offsetof(type, member) #endif +#define __visible __attribute__((externally_visible)) + #endif /* __CROS_EC_COMPILE_TIME_MACROS_H */ |