aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2014-06-30 21:13:06 +0100
committerRon Yorston <rmy@pobox.com>2014-06-30 21:13:06 +0100
commit099e8b6438345baae560a629d548af07a8c3125c (patch)
tree71b5600b22b0019af675e4a991394ce32c8207c5 /include/platform.h
parente19594cc6e49e78fa50a654f15cf9a04e77d054a (diff)
parent184b2669175e562d58894e22f6320cebf3316c25 (diff)
downloadbusybox-w32-099e8b6438345baae560a629d548af07a8c3125c.tar.gz
busybox-w32-099e8b6438345baae560a629d548af07a8c3125c.tar.bz2
busybox-w32-099e8b6438345baae560a629d548af07a8c3125c.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 884c6e95f..d9b82b2ed 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -85,6 +85,9 @@
85# define UNUSED_PARAM_RESULT 85# define UNUSED_PARAM_RESULT
86#endif 86#endif
87 87
88/* used by unit test machinery to run registration functions before calling main() */
89#define INIT_FUNC __attribute__ ((constructor))
90
88/* -fwhole-program makes all symbols local. The attribute externally_visible 91/* -fwhole-program makes all symbols local. The attribute externally_visible
89 * forces a symbol global. */ 92 * forces a symbol global. */
90#if __GNUC_PREREQ(4,1) 93#if __GNUC_PREREQ(4,1)