1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 23:50:18 +02:00

Fix `SCM_INTERNAL' with GCC 4.3.

This commit is contained in:
Ludovic Courtès 2008-07-04 22:02:56 +02:00
parent e01343d646
commit bc566d672f
2 changed files with 8 additions and 2 deletions

View file

@ -101,9 +101,9 @@
* as having "internal" linkage. */
#if (defined __GNUC__) && \
((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ == 3))
# define SCM_INTERNAL __attribute__ ((__visibility__ ("internal")))
# define SCM_INTERNAL extern __attribute__ ((__visibility__ ("internal")))
#else
# define SCM_INTERNAL
# define SCM_INTERNAL extern
#endif