From 89aec8e68bdc64f14c934c58397f64a79a64a86f Mon Sep 17 00:00:00 2001 From: kramm Date: Wed, 31 Oct 2001 19:45:52 +0000 Subject: [PATCH] Removed the len/WritePos,pos/ReadPos unions again, as some versions of gcc can't handle empty unions. --- lib/rfxswf.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 377123e..43d4b87 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -73,15 +73,8 @@ typedef struct _TAG // NEVER access a Tag-Struct directly ! U8 * data; U32 memsize; // to minimize realloc() calls - union - { U32 len; // for Set-Access - U32 dataWritePos; - }; - - union - { U32 pos; // for Get-Access - U32 dataReadPos; - }; + U32 len; // for Set-Access + U32 pos; // for Get-Access int frame; // not really up-to-date -- 1.7.10.4