Skip to content

Commit efa7a57

Browse files
author
Oleh Kulykov
committed
1722244572
1 parent c01bee3 commit efa7a57

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/plzma.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@
5656
# if defined(__GXX_RTTI)
5757
# define RTTI_ENABLED 1
5858
# endif
59-
#elif defined(_MSC_VER)
60-
# if defined(_CPPRTTI)
59+
#elif defined(LIBPLZMA_MSC)
60+
// Defined as 1 if the /GR (Enable Run-Time Type Information) compiler option is set. Otherwise, undefined.
61+
# if (defined(_CPPRTTI) && (_CPPRTTI > 0))
6162
# define RTTI_ENABLED 1
6263
# endif
6364
#endif

0 commit comments

Comments
 (0)