1 /* $Id$ 2 * Turbo C and Borland C for DOS 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 /* Turbo C/C++ & Borland C/C++ for MS-DOS */ 28 29 #ifndef HUSKY_BCD_H 30 #define HUSKY_BCD_H 31 32 #ifndef __TURBOC__ 33 #error This file may be used only with Turbo C and Borland C ! 34 #endif 35 36 #ifndef __DOS__ 37 #error This file may be used only with DOS version of Turbo C or Borland C ! 38 #endif 39 40 /* for BC++ 3.1 */ 41 # define strcasecmp stricmp 42 # define strncasecmp strncmpi 43 44 # define _stdc cdecl 45 # define _intr interrupt far 46 # define _intcast void (_intr *)() 47 # define _veccast _intcast 48 # define _fast _fastcall 49 # define _loadds 50 51 /* #include <conio.h> */ 52 # define mysleep(x) delay(x); 53 # define sleep(x) delay(x); 54 # define HAS_sleep 1 55 56 # ifndef _XPENTRY 57 # define _XPENTRY 58 # endif 59 60 # define mode_t int 61 62 #endif 63