1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/lang/Gofer/files/patch-ab

80 lines
3.3 KiB
Plaintext
Raw Normal View History

1995-02-08 09:41:13 +00:00
*** prelude.h.0 Thu Jun 23 09:00:00 1994
--- prelude.h Tue Jan 31 16:17:47 1995
***************
*** 30,40 ****
#define OS2 0 /* For IBM OS/2 2.0 using EMX GCC */
#define SUNOS 0 /* For Sun 3/Sun 4 running SunOs 4.x */
#define MIPS 0 /* For MIPS RC6280/Sony machine NWS-3870 UN */
! #define NEXTSTEP 1 /* For NeXTstep 3.0 using NeXT cc */
#define NEXTGCC 0 /* For NeXTstep with gcc 2.x, doesn't work w/ NS3.2*/
#define MINIX68K 0 /* For Minix68k with gcc UN */
#define AMIGA 0 /* For Amiga using gcc 2.2.2 UN */
#define HPUX 0 /* For HPUX using gcc */
#define LINUX 0 /* For Linux using gcc UN */
#define RISCOS 0 /* For Acorn DesktopC and RISCOS2 or 3 */
#define ALPHA 0 /* For DEC Alpha with OSF/1 (32 bit ints, no gofc) */
--- 30,41 ----
#define OS2 0 /* For IBM OS/2 2.0 using EMX GCC */
#define SUNOS 0 /* For Sun 3/Sun 4 running SunOs 4.x */
#define MIPS 0 /* For MIPS RC6280/Sony machine NWS-3870 UN */
! #define NEXTSTEP 0 /* For NeXTstep 3.0 using NeXT cc */
#define NEXTGCC 0 /* For NeXTstep with gcc 2.x, doesn't work w/ NS3.2*/
#define MINIX68K 0 /* For Minix68k with gcc UN */
#define AMIGA 0 /* For Amiga using gcc 2.2.2 UN */
#define HPUX 0 /* For HPUX using gcc */
+ #define FREEBSD 1 /* For FreeBSD using gcc */
#define LINUX 0 /* For Linux using gcc UN */
#define RISCOS 0 /* For Acorn DesktopC and RISCOS2 or 3 */
#define ALPHA 0 /* For DEC Alpha with OSF/1 (32 bit ints, no gofc) */
***************
*** 82,88 ****
#define UNIX (SUNOS | NEXTSTEP | HPUX | NEXTGCC | LINUX | AMIGA | \
MINIX68K | ALPHA | OS2 | SVR4 | ULTRIX | AIX | MIPS |\
! SGI4 | NETBSD)
#define SMALL_GOFER (TURBOC | BCC)
#define REGULAR_GOFER (RISCOS | DJGPP | ZTC | ATARI)
#define LARGE_GOFER (UNIX | WATCOM)
--- 83,89 ----
#define UNIX (SUNOS | NEXTSTEP | HPUX | NEXTGCC | LINUX | AMIGA | \
MINIX68K | ALPHA | OS2 | SVR4 | ULTRIX | AIX | MIPS |\
! SGI4 | NETBSD | FREEBSD)
#define SMALL_GOFER (TURBOC | BCC)
#define REGULAR_GOFER (RISCOS | DJGPP | ZTC | ATARI)
#define LARGE_GOFER (UNIX | WATCOM)
***************
*** 91,97 ****
#define TERMIO_IO (LINUX | HPUX | OS2 | SVR4 | SGI4)
#define SGTTY_IO (SUNOS | NEXTSTEP | NEXTGCC | AMIGA | MINIX68K | \
ALPHA | ULTRIX | AIX | MIPS)
! #define TERMIOS_IO (NETBSD)
#define BREAK_FLOATS (TURBOC | BCC)
#define HAS_FLOATS (REGULAR_GOFER | LARGE_GOFER | BREAK_FLOATS)
--- 92,98 ----
#define TERMIO_IO (LINUX | HPUX | OS2 | SVR4 | SGI4)
#define SGTTY_IO (SUNOS | NEXTSTEP | NEXTGCC | AMIGA | MINIX68K | \
ALPHA | ULTRIX | AIX | MIPS)
! #define TERMIOS_IO (NETBSD | FREEBSD)
#define BREAK_FLOATS (TURBOC | BCC)
#define HAS_FLOATS (REGULAR_GOFER | LARGE_GOFER | BREAK_FLOATS)
***************
*** 202,208 ****
#define farCalloc(n,s) (Void *)valloc(((unsigned)n)*((unsigned)s))
#endif
! #if (HPUX | DJGPP | ZTC | LINUX | ALPHA | OS2 | SVR4 | AIX | SGI4 | NETBSD)
#include <stdlib.h>
#define far
#endif
--- 203,209 ----
#define farCalloc(n,s) (Void *)valloc(((unsigned)n)*((unsigned)s))
#endif
! #if (HPUX | DJGPP | ZTC | LINUX | ALPHA | OS2 | SVR4 | AIX | SGI4 | NETBSD | FREEBSD)
#include <stdlib.h>
#define far
#endif