void init_resource(int type, struct res_items *item);
void save_resource(int type, struct res_items *item, int pass);
char *res_to_str(int rcode);
+
/* Loop through each resource of type, returning in var */
-#ifdef HAVE_WIN32
#define foreach_res(var, type) \
- for(var=NULL; *((void **)&(var))=(void *)GetNextRes((type), (RES *)var);)
-#else
+ for(var=NULL; (*((void **)&(var))=(void *)GetNextRes((type), (RES *)var));)
+
+#ifdef the_old_way
#define foreach_res(var, type) \
for((var)=NULL; (((void *)(var))=GetNextRes((type), (RES *)var));)
#endif