19 Sep
2010
19 Sep
'10
9:17 p.m.
Mike Frysinger <vapier(a)gentoo.org> writes:
i dont see how that would help. the code is currently: typedef struct ... { ... CHAR foo[1]; } ...;
it needs to be "foo[]". ANYSIZE_ARRAY is defined as 1, so once the preprocessor is done, we're right back where we started. i cant change the value of ANYSIZE_ARRAY to nothing because some code uses this define in multiplication to calculate the size of objects.
True, you don't want to change the public one, but you can define a shell32-specific version of it. At least then it looks like a normal array declaration. -- Alexandre Julliard julliard(a)winehq.org