diff options
-rw-r--r-- | include/m_genmenu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/m_genmenu.h b/include/m_genmenu.h index 2b1eac7f88..2581c59b0c 100644 --- a/include/m_genmenu.h +++ b/include/m_genmenu.h @@ -56,6 +56,12 @@ struct TMO_MenuItem MUUID uid;
};
+#if _MSC_VER <= 1600
+ #define SET_UID(M,A,B,C,D1,D2,D3,D4,D5,D6,D7,D8) { MUUID tmp = { A, B, C, {D1,D2,D3,D4,D5,D6,D7,D8}}; M.uid = tmp; }
+#else
+ #define SET_UID(M,A,B,C,D1,D2,D3,D4,D5,D6,D7,D8) { M.uid = { A, B, C, {D1,D2,D3,D4,D5,D6,D7,D8}}; }
+#endif
+
#ifdef __cplusplus
struct CMenuItem : public TMO_MenuItem
{
|