diff options
author | Ali Abdulkadir <autostart.ini@gmail.com> | 2018-03-16 00:17:55 +0300 |
---|---|---|
committer | Ali Abdulkadir <autostart.ini@gmail.com> | 2018-03-16 00:17:55 +0300 |
commit | 57605b06fcab9064a450c4532dedaa7b44636fab (patch) | |
tree | 83e30fad761f4c21cd86f39c4792cabe4b8eec79 /portability.h | |
parent | 18f8244c7d5707a5fd8ea8365f9a7050ee643616 (diff) | |
download | libpcap-57605b06fcab9064a450c4532dedaa7b44636fab.tar.gz |
Avoid redefining HAVE_SNPRINTF
It should be defined cmake
Diffstat (limited to 'portability.h')
-rw-r--r-- | portability.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/portability.h b/portability.h index 956a26df..b3612542 100644 --- a/portability.h +++ b/portability.h @@ -99,18 +99,6 @@ extern "C" { #endif #endif -#ifdef _MSC_VER - /* - * MSVC. - */ - #if _MSC_VER >= 1900 - /* - * VS 2015 or newer; we have snprintf() function. - */ - #define HAVE_SNPRINTF - #endif -#endif - /* * On Windows, snprintf(), with that name and with C99 behavior - i.e., * guaranteeing that the formatted string is null-terminated - didn't |