freebsd-ports/devel/cocktail/files/patch-reuse-c-General.h
Edwin Groothuis 8937ed4066 [PORT UPGRADE] devel/cocktail corrected for 64bits compilation
The orignal port only ran on i386, since there were some
	64bit conversion problems. The included tar file replaces
	the compete devel/cocktail tree currently in the ports tree.

(lots of patches!)

PR:		ports/71940
Submitted by:	Willem Jan Withagen <wjw@withagen.nl>
2004-12-15 04:05:34 +00:00

22 lines
568 B
C

--- /usr/ports/devel/cocktail/work/cocktail-9309//./reuse/c/General.h Tue Feb 15 14:26:36 1994
+++ ./reuse/c/General.h Fri Sep 10 13:35:03 2004
@@ -30,8 +30,10 @@
# ifdef __STDC__
# define ARGS(parameters) parameters
+# define NOARGS void
# else
# define ARGS(parameters) ()
+# define NOARGS
# endif
# define Min(a,b) ((a <= b) ? a : b)
@@ -44,7 +46,7 @@
extern unsigned long Exp2 ARGS((register cardinal x));
/* Returns 2 to the power of 'x'. */
-extern short yyMaxAlign;
+extern unsigned long yyMaxAlign;
extern long yyAlignMasks [];
# endif