2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: Lock.h /main/1 1996/04/13 11:53:37 ageorge $ */
25 * (c) Copyright 1996 Hewlett-Packard Company *
26 * (c) Copyright 1996 International Business Machines Corp. *
27 * (c) Copyright 1996 Sun Microsystems, Inc. *
28 * (c) Copyright 1996 Novell, Inc. *
29 * (c) Copyright 1996 Digital Equipment Corporation. *
30 * (c) Copyright 1996 FUJITSU LIMITED. *
31 * (c) Copyright 1996 Hitachi. *
37 /******** Conditionally defined macros for thread_safe DtHelp ******/
39 #define _DtHelpWidgetToAppContext(w) \
40 XtAppContext app = XtWidgetToApplicationContext(w)
41 #define _DtHelpDisplayToAppContext(d) \
42 XtAppContext app = XtDisplayToApplicationContext(d)
43 #define _DtHelpAppLock(app) XtAppLock(app)
44 #define _DtHelpAppUnlock(app) XtAppUnlock(app)
45 #define _DtHelpProcessLock() XtProcessLock()
46 #define _DtHelpProcessUnlock() XtProcessUnlock()
48 #define _DtHelpWidgetToAppContext(w)
49 #define _DtHelpDisplayToAppContext(d)
50 #define _DtHelpAppLock(app)
51 #define _DtHelpAppUnlock(app)
52 #define _DtHelpProcessLock()
53 #define _DtHelpProcessUnlock()
56 #endif /* _Dt_Lock_h */
57 /* DON'T ADD ANYTHING AFTER THIS #endif... */