forked from osmocom/wireshark
Check _MSC_VER is defined before we use it
Otherwise it breaks a bunch of stuff on Linux machines because of the way gcc's preprocessor works (buildbot decryption tests, extcap, etc). Originally added in Ic5360089f96be620fbe99ba4e819e0caa5ca0215 Change-Id: Iad43fa1415aa331ae375771adac0818ea1b99060 Reviewed-on: https://code.wireshark.org/review/9091 Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
parent
b7aacfdd46
commit
5dcd207cc6
|
@ -1960,7 +1960,7 @@ file_exists(const char *fname)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
#if _MSC_VER < 1900
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
|
||||
/*
|
||||
* This is a bit tricky on win32. The st_ino field is documented as:
|
||||
|
|
Loading…
Reference in New Issue