~ubuntu-branches/ubuntu/precise/ncbi-tools6/precise

« back to all changes in this revision

Viewing changes to corelib/ncbiwin.h

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*
30
30
* Version Creation Date:   1/1/91
31
31
*
32
 
* $Revision: 6.3 $
 
32
* $Revision: 6.9 $
33
33
*
34
34
* File Description:
35
35
*               underlying window toolbox import
37
37
* Modifications:
38
38
* --------------------------------------------------------------------------
39
39
* $Log: ncbiwin.h,v $
 
40
* Revision 6.9  2003/11/07 15:54:44  rsmith
 
41
* Remove obsolete and uneeded Macintosh headers Types.h and Windows.h
 
42
*
 
43
* Revision 6.8  2003/05/05 12:00:10  rsmith
 
44
* Change definitions before including windows.h when compiling with Codewarrior for Windows.
 
45
*
 
46
* Revision 6.7  2002/12/17 23:00:48  kans
 
47
* support for OS_UNIX_DARWIN for Mach-O executables (RGS)
 
48
*
 
49
* Revision 6.6  2002/06/13 16:14:07  kans
 
50
* fix includes for OS_UNIX_DARWIN with WIN_MAC (EN)
 
51
*
 
52
* Revision 6.5  2002/02/15 20:19:50  beloslyu
 
53
* bug fixed
 
54
*
 
55
* Revision 6.4  2002/02/15 19:53:28  beloslyu
 
56
* fix for HP-UX
 
57
*
40
58
* Revision 6.3  1999/12/21 17:34:56  kans
41
59
* Added ControlDefinitions.h to the Mac client portion to support universal headers version 3.3 (in preparation for Carbon compatibility) - churchill
42
60
*
112
130
#if UNIVERSAL_INTERFACES_VERSION > 0x0320
113
131
#include <ControlDefinitions.h>  /* pjc added 11/20/99 */
114
132
#endif
 
133
#ifndef OS_UNIX_DARWIN
 
134
#include <DiskInit.h>
 
135
#include <Packages.h>
 
136
#include <SegLoad.h>
 
137
#include <StandardFile.h>  /* dgg added 12dec93 */
 
138
#endif
115
139
#include <Devices.h>
116
140
#include <Dialogs.h>
117
 
#include <DiskInit.h>
118
141
#include <Events.h>
119
142
#include <Files.h>
120
143
#include <Fonts.h>
122
145
#include <Memory.h>
123
146
#include <Menus.h>
124
147
#include <OSUtils.h>
125
 
#include <Packages.h>
126
148
#include <Quickdraw.h>
127
 
#include <SegLoad.h>
128
 
#include <StandardFile.h>  /* dgg added 12dec93 */
129
149
#include <TextEdit.h>
130
150
#include <ToolUtils.h>
 
151
/*
131
152
#include <Types.h>
132
153
#include <Windows.h>
 
154
*/
 
155
#include <Sound.h>
 
156
#include <Folders.h>
133
157
#endif
134
158
 
135
159
                           /* used in ncbifile.c *****/
136
160
#ifdef OS_MAC
137
161
#include <Errors.h>
138
162
#include <Gestalt.h>
139
 
#include <Folders.h>
140
163
#include <MacMemory.h>
141
164
#include <Processes.h>
142
 
#include <Sound.h>
143
165
#endif
144
166
 
145
167
#ifdef OS_UNIX_SUN
173
195
#ifndef WIN16
174
196
#undef Beep
175
197
#endif
 
198
#ifndef COMP_METRO
176
199
#undef TRUE
177
200
#undef FALSE
178
201
#undef NULL
180
203
#undef NEAR
181
204
#undef PASCAL
182
205
#undef CDECL
 
206
#define STRICT
 
207
#endif
183
208
#define NOKANJI
184
209
#define NODBCS
185
210
#define NOCOMM
186
211
#define NOSOUND
187
212
#define NOPROFILER
188
213
#define NOKEYBOARDINFO
189
 
#define STRICT
190
214
#include <windows.h>
191
215
#include <windowsx.h>
192
216
#endif /* OS_MSWIN */
197
221
#endif
198
222
#endif
199
223
 
200
 
#ifdef WIN_X
 
224
#if defined(WIN_X)
 
225
#if !defined(OS_UNIX_HPUX)
201
226
#include <X11/Xlib.h>
202
227
#include <X11/Xutil.h>
203
228
#include <X11/Xos.h>
204
229
#include <X11/Xresource.h>
205
230
#include <X11/Intrinsic.h>
206
231
#include <X11/StringDefs.h>
 
232
#endif
207
233
#include <X11/cursorfont.h>
208
234
#endif
209
235