source: trunk/src/emx/include/os2.h@ 94

Last change on this file since 94 was 94, checked in by zap, 22 years ago

This is the start of work on making EMX C runtime EMX-independent ;-)
The first signs of a GNU Make-based build system.
Fixed a lot of .s files to comply with new GAS syntax.
Added a lot of submakefiles for every sub-library.
Replaced EM's getopt.h with the one from libiberty (which supports
getopt_long). The old getopt.h has moved to include/emx, so if
some tool needs it (and you don't want to fix it to use the new getopt),
replace #include <getopt.h> with #include <emx/getopt.h>. Did so in
most EMX tools.

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 564 bytes
Line 
1/* os2.h (emx+gcc) */
2
3#ifndef _OS2_H
4#define _OS2_H
5
6#if defined (__cplusplus)
7extern "C" {
8#endif
9
10#ifndef _Cdecl
11#define _Cdecl
12#endif
13#ifndef _Far16
14#define _Far16
15#endif
16#ifndef _Optlink
17#define _Optlink
18#endif
19#ifndef _Pascal
20#define _Pascal
21#endif
22#ifndef _Seg16
23#define _Seg16
24#endif
25#ifndef _System
26#define _System
27#endif
28
29#if defined (USE_OS2_TOOLKIT_HEADERS)
30#include <os2tk.h>
31#else
32#include <os2emx.h> /* <-- change this line to use Toolkit headers */
33#endif
34#include <os2thunk.h>
35
36#if defined (__cplusplus)
37}
38#endif
39
40#endif /* not _OS2_H */
Note: See TracBrowser for help on using the repository browser.