annotate src/xmmanagerp.h @ 22:8fc7fe29b841 r19-15b94

Import from CVS: tag r19-15b94
author cvs
date Mon, 13 Aug 2007 08:50:29 +0200
parents 376386a54a3c
children 6b37e6ddd302
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* This file just includes the Motif header file ManagerP.h, but does
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 the necessary magic to do this properly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 This file is part of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 XEmacs is free software; you can redistribute it and/or modify it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 under the terms of the GNU General Public License as published by the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 Free Software Foundation; either version 2, or (at your option) any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 along with XEmacs; see the file COPYING. If not, write to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 /* Synched up with: Not in FSF. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 /* Motif attempts to use old '/ * * /' method of pasting tokens together
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 unless __STDC__ > 0. Bad idea, because the SunPro C compiler defines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 __STDC__ to 0 in "lenient ANSI mode" (which is what you need to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 compile Emacs in). Unfortunately, some compilers don't let you mess
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 around with __STDC__, so ... */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 #if defined(__SUNPRO_C) && (__STDC__ == 0)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 # undef __STDC__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 # define __STDC__ 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 # define __STDC__CHANGED__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 /* ManagerP.h doesn't exist in old versions of Motif; the stuff is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 in XmP.h instead */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 #include <Xm/Xm.h> /* to get XmVersion */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 #if (XmVersion >= 1002)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 # include <Xm/ManagerP.h>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 # include <Xm/XmP.h>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 #ifdef __STDC__CHANGED__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 # undef __STDC__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 # define __STDC__ 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 # undef __STDC__CHANGED__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 #endif