commit | 1165ee172ce2cd4023c8e65a27ceba9a41cbbec0 | [log] [tgz] |
---|---|---|
author | Guy Harris <guy@alum.mit.edu> | Fri Dec 25 12:40:23 2015 -0800 |
committer | Guy Harris <guy@alum.mit.edu> | Fri Dec 25 12:40:23 2015 -0800 |
tree | 2e436da3144ac27643378e2eed1943b04a283521 | |
parent | f02c19ba2d37d67631147836a14ac95c8e914fd3 [diff] |
Attempt to get UN*X compilers to work like MSVC. If the compiler has a flag to specify that symbols should be hidden outside the shared library unless explicitly marked as visible, specify it. Make PCAP_API mark a symbol as visible if the compiler supports it. If it doesn't have that, it probably also lacks the ability to mark symbols as hidden, so don't bother with explicitly marking symbols as hidden.