From fa730db2ee6289467ef58ccd49c09c87f8cf8d09 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 24c70f5e0..3734b7906 100644 --- a/cppapi/server/dintrthread.h +++ b/cppapi/server/dintrthread.h @@ -59,7 +59,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