Bug 460926 A11y hierachy is broken on Ubuntu 8.10 (GNOME 2.24), r=Evan.Yan sr=roc
[wine-gecko.git] / dbm / include / watcomfx.h
blob3020e9de91dd9ebb8132030430e9af0ada5d5b63
1 #if defined(__WATCOMC__) || defined(__WATCOM_CPLUSPLUS__)
2 #ifndef __WATCOM_FIX_H__
3 #define __WATCOM_FIX_H__ 1
4 /*
5 * WATCOM's C compiler doesn't default to "__cdecl" conventions for external
6 * symbols and functions. Rather than adding an explicit __cdecl modifier to
7 * every external symbol and function declaration and definition, we use the
8 * following pragma to (attempt to) change WATCOM c's default to __cdecl.
9 * These pragmas were taken from pages 180-181, 266 & 269 of the
10 * Watcom C/C++ version 11 User's Guide, 3rd edition.
12 #if defined(XP_WIN16) || defined(WIN16)
13 #pragma aux default "_*" \
14 parm caller [] \
15 value struct float struct routine [ax] \
16 modify [ax bx cx dx es]
17 #else
18 #pragma aux default "_*" \
19 parm caller [] \
20 value struct float struct routine [eax] \
21 modify [eax ecx edx]
22 #endif
23 #pragma aux default far
25 #endif /* once */
26 #endif /* WATCOM compiler */