From aed27b35dd0ff860a80fb784c0fda00f58e87334 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 3 Oct 2003 13:53:46 +0000 Subject: use C++ struct naming instead of typedefs -> this fixes (or works around, whatever you prefer to call it) the GCC_PACK problem in Doxygen svn-id: r10569 --- sword2/resman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sword2/resman.cpp') diff --git a/sword2/resman.cpp b/sword2/resman.cpp index b67f097926..ac42f1988e 100644 --- a/sword2/resman.cpp +++ b/sword2/resman.cpp @@ -79,10 +79,10 @@ Sword2ResourceManager res_man; //declare the object global #pragma START_PACK_STRUCTS #endif -typedef struct { +struct _cd_inf { uint8 clusterName[20]; // Null terminated cluster name. uint8 cd; // Cd cluster is on and whether it is on the local drive or not. -} GCC_PACK _cd_inf; +} GCC_PACK; #if !defined(__GNUC__) #pragma END_PACK_STRUCTS -- cgit v1.2.3