source: trunk/include/odin.h@ 265

Last change on this file since 265 was 94, checked in by achimha, 26 years ago

Added CVS tag to many files (comctl32 and headers) .

File size: 1.3 KB
RevLine 
[94]1/* $Id: odin.h,v 1.4 1999-06-10 16:21:48 achimha Exp $ */
[17]2/*
3 *
4 * ODIN - Build Environment Definition
5 *
6 */
7
8
9#ifndef _ODIN_H_
10#define _ODIN_H_
11
12
13/*
14 * Compiler Environment Definition
15 */
16
[31]17#ifdef CDECL
18# undef CDECL
19#endif
20
21#ifdef EXPORT
22# undef EXPORT
23#endif
24
25#ifdef WIN32API
26# undef WIN32API
27#endif
28
29#ifdef SYSTEM
30# undef SYSTEM
31#endif
32
33#ifdef PASCAL
34# undef PASCAL
35#endif
36
37#ifdef UNALIGNED
38# undef UNALIGNED
39#endif
40
41
[17]42/* ---------- WATCOM C ---------- */
43#ifdef __WATCOMC__
44 #define CDECL _cdecl
45 #define EXPORT _export
46 #define WIN32API __stdcall
47 #define SYSTEM __stdcall
[31]48 #define PASCAL _Pascal
49 #define UNALIGNED
[17]50#else
51
52/* ---------- GCC/EMX ---------- */
53#ifdef __GNUC__
54 #define CDECL _cdecl
55 #define EXPORT _export
56 #define WIN32API __stdcall
57 #define SYSTEM __stdcall
[31]58 #define PASCAL _Pascal
59 #define UNALIGNED
[17]60#else
61
62/* ---------- VAC ---------- */
63#if (defined(__IBMCPP__) || defined(__IBMC__))
64 #define CDECL __cdecl
65 #define EXPORT _Export
66 #define WIN32API __stdcall
67 #define SYSTEM _System
[18]68 #define PASCAL _Pascal
[17]69 #define UNALIGNED
70#else
71
72/* ---------- ??? ---------- */
73#error No known compiler.
74#endif
75#endif
76#endif
77
78
79/* map WINE to ODIN */
[31]80#ifdef WINAPI
81# undef WINAPI
82#endif
[17]83#define WINAPI WIN32API
84
85#include <builtin.h>
86
87
88#endif /* _ODIN_H_*/
89
Note: See TracBrowser for help on using the repository browser.