1 /* $Id$
2  *  Watcom C for DOS-DPMI (DOS4G) compiler-specific declarations
3  *
4  * HUSKYLIB: common defines, types and functions for HUSKY
5  *
6  * This is part of The HUSKY Fidonet Software project:
7  * see http://husky.sourceforge.net for details
8  *
9  *
10  * HUSKYLIB is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2 of the License, or (at your option) any later version.
14  *
15  * HUSKYLIB is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with this library; see file COPYING. If not, write to the
22  * Free Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23  *
24  * See also http://www.gnu.org, license may be found here.
25  */
26 
27 /* WATCOM C/C++ for DOS/DMPI (DOS4G) */
28 
29 #ifndef HUSKY_WCX_H
30 #define HUSKY_WCX_H
31 
32 #ifndef __WATCOMC__
33   #error This file may be used only with Watcom C !
34 #endif
35 #if defined(__DOS4G__)
36   #error This file may be used only with Watcom C DOS4G target !
37 #endif
38 
39 
40 #  define _stdc      cdecl
41 #  define _intr      interrupt far
42 #  define _intcast   void (_intr *)()
43 #  define _veccast   _intcast
44 #  define _fast      pascal
45 
46 #  define farread    read
47 #  define farwrite   write
48 
49 #  define _XPENTRY   pascal
50 
51 #  define HAS_sopen     3   /* sopen() : in io.h, 3 or 4 parameters */
52 
53 #endif
54