Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Commit fa730db

Browse files
reszelazt-b
authored andcommitted
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 ';'?
1 parent 2dba022 commit fa730db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cppapi/server/dintrthread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct _ShDevIntrTh
5959
bool cmd_pending; // The new command flag
6060
DevIntrCmdCode cmd_code; // The command code
6161
bool th_running; // Thread running flag
62-
#if _MSC_VER > 1900
62+
#if _MSC_VER >= 1900
6363
#ifdef interface
6464
#undef interface
6565
#endif

0 commit comments

Comments
 (0)