X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fgthr-gnat.c;h=2d55fdfc7aed6c7bfb46fd83fdf2f586f8549c94;hb=ffca001431383db73c1c827b614283aaf6a9c832;hp=cb47d86cd08623ac90ad18931d5bae5d3e4ded14;hpb=bc9fbf5dec10a5a0131608cefd9b97d273064814;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/gthr-gnat.c b/gcc/gthr-gnat.c index cb47d86cd08..2d55fdfc7ae 100644 --- a/gcc/gthr-gnat.c +++ b/gcc/gthr-gnat.c @@ -1,6 +1,6 @@ /* Threads compatibility routines for libgcc2. */ /* Compile this one with gcc. */ -/* Copyright (C) 2003 Free Software Foundation, Inc. +/* Copyright (C) 2003, 2004 Free Software Foundation, Inc. This file is part of GCC. @@ -28,7 +28,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "gthr-gnat.h" +#ifndef HIDE_EXPORTS #pragma GCC visibility push(default) +#endif #ifdef __cplusplus #define UNUSED(x) @@ -81,4 +83,6 @@ __gthread_mutex_unlock (__gthread_mutex_t * UNUSED (mutex)) return 0; } +#ifndef HIDE_EXPORTS #pragma GCC visibility pop +#endif