diff --git a/curses.h b/curses.h index dcaeb8e0..f9287dad 100644 --- a/curses.h +++ b/curses.h @@ -11,7 +11,7 @@ * See the file maintain.er for details of the current maintainer. * ************************************************************************/ -/* $Id: curses.h,v 1.283 2007/05/28 17:11:32 wmcbrine Exp $ */ +/* $Id: curses.h,v 1.284 2007/05/28 19:47:16 wmcbrine Exp $ */ /*----------------------------------------------------------------------* * PDCurses * @@ -80,7 +80,6 @@ PDCurses portable platform definitions list: */ #ifdef __HIGHC__ -# pragma off(prototype_override_warnings) # ifdef __MSDOS__ # define DOS 6 # endif @@ -226,22 +225,6 @@ PDCurses portable platform definitions list: # endif #endif -/*---------------------------------------- - * HI-TECH COMPILERS Pacific C - * - * Hi-Tech definitions: - * - * __PACIFIC__, DOS - * are predefined by compiler. - */ - -#ifdef __PACIFIC__ -# include -# ifndef __SMALL__ -# define __SMALL__ -# endif -#endif - /*----------------------------------------------------------------------*/ /* If it's not DOS, or OS/2, or Windows, it must be XCurses */ diff --git a/dos/pdcdos.h b/dos/pdcdos.h index fb7c5236..58fbee3f 100644 --- a/dos/pdcdos.h +++ b/dos/pdcdos.h @@ -11,7 +11,7 @@ * See the file maintain.er for details of the current maintainer. * ************************************************************************/ -/* $Id: pdcdos.h,v 1.26 2006/12/29 21:16:32 wmcbrine Exp $ */ +/* $Id: pdcdos.h,v 1.27 2007/05/28 19:47:16 wmcbrine Exp $ */ #include #include @@ -20,6 +20,10 @@ # define MSC 1 #endif +#if defined(__PACIFIC__) && !defined(__SMALL__) +# define __SMALL__ +#endif + #if defined(__HIGHC__) || MSC # include #endif @@ -94,7 +98,7 @@ unsigned long getdosmemdword(int offs); void setdosmembyte(int offs, unsigned char b); void setdosmemword(int offs, unsigned short w); #else -# if SMALL || MEDIUM || MSC || defined(__PACIFIC__) +# if SMALL || MEDIUM || MSC # define PDC_FAR far # else # define PDC_FAR