Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix VS2019 16.10 build error #6

Merged
merged 2 commits into from
Jun 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions datapath-windows/ovsext/precomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
* limitations under the License.
*/

/*
* define _NO_CRT_STDIO_INLINE
* This is a workaround for a issue with Visual Studio 2019
* (noticed first with VS 16.10).
* LNK errors like this:
* __stdio_common_vswprintf referenced in function _vsnwprintf_l
*/
#define _NO_CRT_STDIO_INLINE 1

#include <ndis.h>
#include <netiodef.h>
#include <intsafe.h>
Expand Down