summaryrefslogtreecommitdiff
path: root/gcc/gthr-win32.h
diff options
context:
space:
mode:
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-21 22:16:08 +0000
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-21 22:16:08 +0000
commit0e0719d460ba09c2fec21d358400aa47cf6fa00f (patch)
tree0f09dde6e47b45dbeddd764b0f3f1e890d5b3cae /gcc/gthr-win32.h
parentae204ba4fd0b3f0d5bbf2848cf880f4f3ada5361 (diff)
downloadgcc-0e0719d460ba09c2fec21d358400aa47cf6fa00f.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67069 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gthr-win32.h')
-rw-r--r--gcc/gthr-win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gthr-win32.h b/gcc/gthr-win32.h
index fe8743a8658..93f157481a3 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