On Nov 16, 2013, at 2:12 PM, Jakub Zawadzki <[email protected]> wrote:
> Still it seems to be quite complicated ...
People must do this sort of thing - have DLLs that import stuff from other DLLs
- often enough on Windows to make it not *that* painful, right?
We could, I guess, have separate ws_symbol_export.h and ws_symbol_import.h
files, both of which reset the definitions of the macros in question, with the
convention being that:
source files that are part of programs include ws_symbol_import.h
before including other header files;
source files that are part of libraries:
include ws_symbol_import.h;
include all headers *except* for headers for the library to
which they belong;
include ws_symbol_export.h;
include all headers for the library to which they belong.
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe