source: trunk/include/odin.h@ 2694

Last change on this file since 2694 was 2694, checked in by sandervl, 26 years ago

YD: header updates + added WaitForInputIdle

File size: 1.8 KB
Line 
1/* $Id: odin.h,v 1.13 2000-02-09 13:40:22 sandervl Exp $ */
2/*
3 * ODIN - Build Environment Definition
4 *
5 * Copyright (C) 1999 Patrick Haller <phaller@gmx.net>
6 *
7 * ------------------------------------------------------------
8 * Note: Only compiler linkage definitions and similar stuff
9 * goes here. Nothing else.
10 * ------------------------------------------------------------
11 *
12 */
13
14
15#ifndef _ODIN_H_
16#define _ODIN_H_
17
18
19/***********************************
20 * Compiler Environment Definition *
21 ***********************************/
22
23#ifdef CDECL
24# undef CDECL
25#endif
26
27#ifdef EXPORT
28# undef EXPORT
29#endif
30
31#ifdef WIN32API
32# undef WIN32API
33#endif
34
35#ifdef SYSTEM
36# undef SYSTEM
37#endif
38
39#ifdef PASCAL
40# undef PASCAL
41#endif
42
43#ifdef UNALIGNED
44# undef UNALIGNED
45#endif
46
47
48/* ---------- WATCOM C ---------- */
49#ifdef __WATCOMC__
50 #define CDECL _cdecl
51 #define EXPORT _export
52 #define WIN32API __stdcall
53 #define WINAPI __stdcall
54 #define SYSTEM __stdcall
55 #define PASCAL _Pascal
56 #define UNALIGNED
57#else
58
59/* ---------- GCC/EMX ---------- */
60#ifdef __GNUC__
61 #define CDECL _cdecl
62 #define EXPORT _export
63 #define WIN32API __stdcall
64 #define WINAPI __stdcall
65 #define SYSTEM __stdcall
66 #define PASCAL _Pascal
67 #define UNALIGNED
68#else
69
70/* ---------- VAC ---------- */
71#if (defined(__IBMCPP__) || defined(__IBMC__))
72 #define CDECL __cdecl
73 #define EXPORT _Export
74 #define WIN32API __stdcall
75 #define WINAPI __stdcall
76 #define SYSTEM _System
77 #define PASCAL _Pascal
78 #define UNALIGNED
79 #define __inline__ inline
80
81#ifndef RC_INVOKED
82// #if (__IBMCPP__ == 300) || (__IBMC__ == 300)
83 #define NONAMELESSUNION
84// #endif
85#endif
86
87 #include <builtin.h>
88
89#else
90
91#ifndef RC_INVOKED
92/* ---------- ??? ---------- */
93#error No known compiler.
94#endif
95#endif
96#endif
97#endif
98
99
100
101#endif /* _ODIN_H_*/
102
Note: See TracBrowser for help on using the repository browser.