aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/gthr-gnat.h
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2007-05-19 01:19:51 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2007-05-19 01:19:51 +0000
commit6b834ef156bcf24dcf0e281f57ee5bde03ca07cf (patch)
tree0cb530c9c38af219e6dda2994c078b6b2b9ad853 /contrib/gcc/gthr-gnat.h
parent9ba78bf6b1135ae200742b2a97ae5bc71c9fd265 (diff)
downloadsrc-6b834ef156bcf24dcf0e281f57ee5bde03ca07cf.tar.gz
src-6b834ef156bcf24dcf0e281f57ee5bde03ca07cf.zip
GCC 4.2.0 release.
Notes
Notes: svn path=/vendor/gcc/dist/; revision=169689
Diffstat (limited to 'contrib/gcc/gthr-gnat.h')
-rw-r--r--contrib/gcc/gthr-gnat.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/contrib/gcc/gthr-gnat.h b/contrib/gcc/gthr-gnat.h
index 727814197c08..a7931c01858d 100644
--- a/contrib/gcc/gthr-gnat.h
+++ b/contrib/gcc/gthr-gnat.h
@@ -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.
@@ -15,8 +15,8 @@ for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA. */
+Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301, USA. */
/* As a special exception, if you link this library with other files,
some of which are compiled with GCC, to produce an executable,
@@ -28,6 +28,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#ifndef GCC_GTHR_GNAT_H
#define GCC_GTHR_GNAT_H
+#ifndef HIDE_EXPORTS
+#pragma GCC visibility push(default)
+#endif
+
/* Just provide compatibility for mutex handling. */
typedef int __gthread_mutex_t;
@@ -39,5 +43,9 @@ extern int __gthread_active_p (void);
extern int __gthread_mutex_lock (__gthread_mutex_t *);
extern int __gthread_mutex_unlock (__gthread_mutex_t *);
+#ifndef HIDE_EXPORTS
+#pragma GCC visibility pop
+#endif
+
#endif /* ! GCC_GTHR_GNAT_H */