diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-12-18 08:31:51 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-12-18 08:31:51 -0800 |
commit | 0103d2880a8f6e78fe001fe35f8be958eeda81eb (patch) | |
tree | e33f0c41ff67c2811c7713668bbdba8fd6ea3175 /ftmacros.h | |
parent | e0c3bfb4d609b3505ee1f0040e902f019270793d (diff) |
Work around for bogus definition of _MSC_VER with non-MS compilers.
Try to work around software using pcap that defines _MSC_VER with non-MS
compilers before including pcap.h.
We expect _MSC_VER to be defined only for Microsoft's compiler, and to
be defined with a value that reflects what version of the compiler is
being used, so that we can determine, among other things, what Microsoft
extensions are available.
Try to detect it being defined by other software that wants to trick us
into thinking something's being compiled with Microsoft's compiler, and
undo the definition of _MSC_VER.
Diffstat (limited to 'ftmacros.h')
0 files changed, 0 insertions, 0 deletions