4 Sep
2008
4 Sep
'08
5:16 a.m.
Stefan Dösinger wrote:
You should add a note to the source about this. Or someone might change the size of this structure and the old bug will return. That's probably a good idea
However the best way to fix this problem would be to pack this structure:
#include <pshpack1.h> struct ffp_settings { ... }; #include <poppack.h> Is this portable?
That's Wine's header files. And AFAIK they should work on all platforms. If anything, number of structures in windows headers are packed... Vitaliy.