Wireshark-dev: [Wireshark-dev] Do Windows compilers require WS_VAR_IMPORT in .h files

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Fri, 28 Sep 2012 17:04:01 +0200
Hello,

I'm working on building wireshark with gcc with -fvisibility=hidden. This
will mostly mimic the behaviour already on Windows. The gcc attribute
to change the visibility causes errors when used in .h files (well, in
declarations without a  the object).
I have replaced WS_VAR_IMPORT with extern in .h files. Can someone on Windows
please test whether this still works?

Thanks
    Jörg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.

Attachment: no-ws-var-import-in-h-files.patch.gz
Description: Binary data