1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/graphics/libflash/files/patch-swf.h
Rong-En Fan 280e67f768 - Fix build with gcc4
PR:   	    	 ports/112977
Submitted by:	 benjsc
Approved by:	 Li-Lun  Wang <llwang at infor.org> (maintainer)
2007-06-21 09:56:40 +00:00

13 lines
303 B
C

--- lib/swf.h Fri May 25 15:04:22 2007
+++ lib2/swf.h Fri May 25 15:08:36 2007
@@ -199,7 +199,9 @@
#define true 1
#endif
+extern "C" {
extern int shape_size,shape_nb,shaperecord_size,shaperecord_nb,style_size,style_nb;
+};
typedef void (*ScanLineFunc)(void *id, long y, long start, long end);