From 8d8996c0bba5b73ec05a195985c3e189e723e288 Mon Sep 17 00:00:00 2001
From: Marcus Comstedt <marcus@mc.pp.se>
Date: Mon, 31 Mar 2003 18:10:38 +0200
Subject: [PATCH] Avoid OSF/1 clobbering of cpp namespace.

Rev: src/pike_threadlib.h:1.36
---
 src/pike_threadlib.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/pike_threadlib.h b/src/pike_threadlib.h
index d49f2dbc6b..2b44e4ca82 100644
--- a/src/pike_threadlib.h
+++ b/src/pike_threadlib.h
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: pike_threadlib.h,v 1.35 2003/03/30 20:44:19 mast Exp $
+|| $Id: pike_threadlib.h,v 1.36 2003/03/31 16:10:38 marcus Exp $
 */
 
 #ifndef PIKE_THREADLIB_H
@@ -66,6 +66,12 @@ PMOD_EXPORT extern struct program *thread_id_prog;
 /* AIX is *STUPID* - Hubbe */
 #undef func_data
 
+/* So is OSF/1 - Marcus */
+#undef try
+#undef except
+#undef finally
+#undef leave
+
 #undef HAVE_PTHREAD_H
 #endif /* _MIT_POSIX_THREADS */
 
-- 
GitLab