diff options
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index 92f7755..413c222 100644 --- a/include/platform.h +++ b/include/platform.h @@ -76,6 +76,9 @@ # define UNUSED_PARAM_RESULT #endif +/* used by unit test machinery to run registration functions */ +#define INIT_LAST __attribute__ ((constructor(2000))) + /* -fwhole-program makes all symbols local. The attribute externally_visible * forces a symbol global. */ #if __GNUC_PREREQ(4,1) |