1 /* $Id$ 2 * Watcom C for Win32 (NT) 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 Windows NT */ 28 29 #ifndef HUSKY_WCW_H 30 #define HUSKY_WCW_H 31 32 #ifndef __WATCOMC__ 33 #error This file may be used only with Watcom C ! 34 #endif 35 #if !defined(__WIN32__) && !defined(__NT__) 36 #error This file may be used only with Watcom C Win32/NT target ! 37 #endif 38 39 40 # define _stdc 41 # define _intr 42 # define _intcast 43 # define _veccast 44 # define _fast 45 # define farread read 46 # define farwrite write 47 48 # define _XPENTRY pascal 49 50 /*# define mysleep(x) Sleep(x*1000) */ /* winbase.h */ 51 52 # include <limits.h> 53 # ifndef MAXPATHLEN 54 # define MAXPATHLEN NAME_MAX 55 # endif 56 57 # define HAS_sopen 3 /* sopen() : in io.h, 3 or 4 parameters */ 58 59 #endif 60