aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-05-21 22:16:08 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2003-05-21 22:16:08 +0000
commit81888fcd42973009ff47f73f6b7fd8a56809f416 (patch)
tree0f09dde6e47b45dbeddd764b0f3f1e890d5b3cae /gcc
parentf48758e4ee440a8866485fad7c63f4f2f2e1dbb0 (diff)
downloadgcc-81888fcd42973009ff47f73f6b7fd8a56809f416.zip
gcc-81888fcd42973009ff47f73f6b7fd8a56809f416.tar.gz
gcc-81888fcd42973009ff47f73f6b7fd8a56809f416.tar.bz2
gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero value, not just if defined.
* gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero value, not just if defined. * libstdc++-v3/config/os/mingw32/os_defines.h (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt. (NOMINMAX): Define. From-SVN: r67069
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/gthr-win32.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cc049d3..c3b7101 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero
+ value, not just if defined.
+ Update copyright year.
+
2003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/6428
diff --git a/gcc/gthr-win32.h b/gcc/gthr-win32.h
index fe8743a..93f1574 100644
--- a/gcc/gthr-win32.h
+++ b/gcc/gthr-win32.h
@@ -1,6 +1,6 @@
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
-/* Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
Contributed by Mumit Khan <khan@xraylith.wisc.edu>.
This file is part of GCC.
@@ -365,7 +365,7 @@ __gthread_active_p (void)
#endif
}
-#ifdef __GTHREAD_HIDE_WIN32API
+#if __GTHREAD_HIDE_WIN32API
/* The implementations are in config/i386/gthr-win32.c in libgcc.a.
Only stubs are exposed to avoid polluting the C++ namespace with