From 92586afe8a24f28aa1dbc978ee00f4f981550938 Mon Sep 17 00:00:00 2001 From: reszelaz Date: Mon, 13 Jan 2020 10:03:24 +0100 Subject: [PATCH] Fix interface name collission on MSC_VER = 1900 Undefine interface for Microsoft Visual Studio version 14.0.25431.01 Update 3 comming with _MSC_VER = 1900 to fix compilation error: "error C2236: unexpected token 'struct'. Did you forget a ';'? --- cppapi/server/dintrthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cppapi/server/dintrthread.h b/cppapi/server/dintrthread.h index dbcb5c98d..d99428d49 100644 --- a/cppapi/server/dintrthread.h +++ b/cppapi/server/dintrthread.h @@ -58,7 +58,7 @@ struct _ShDevIntrTh bool cmd_pending; // The new command flag DevIntrCmdCode cmd_code; // The command code bool th_running; // Thread running flag - #if _MSC_VER > 1900 + #if _MSC_VER >= 1900 #ifdef interface #undef interface #endif