Replace static initializers with a proper #define in .h files
Dmitry Timoshkov
dmitry at baikal.ru
Mon Sep 16 01:37:50 CDT 2002
"Francois Gouget" <fgouget at free.fr> wrote:
> Why bother with ifdefs and duplicating a lot of code if the static
> initializers work? I must still be missing something.
There is at least one huge disadvantage of a static initializer: it
always consumes memory, used it or not. Just do #include <windows.h>,
compile and see the result.
--
Dmitry.
More information about the wine-devel
mailing list