Skip to content

Commit ba86197

Browse files
committed
wolfssl/wolfcrypt/wc_port.h: don't attempt to define WC_DEPRECATED() for _MSC_VER < 1400 -- still causing error on old MSVC (now C2085 rather than C2485).
1 parent 41b2fc2 commit ba86197

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

wolfssl/wolfcrypt/wc_port.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@
9898
#elif (defined(_MSC_VER) && _MSC_VER >= 1400) || defined(__MINGW32__) || \
9999
defined(__CYGWIN__) || defined(_WIN32_WCE)
100100
#define WC_DEPRECATED(msg) __declspec(deprecated(msg))
101-
#elif defined(_MSC_VER)
102-
#ifdef __cplusplus
103-
#define WC_DEPRECATED(msg) __declspec(deprecated)
104-
#else
105-
#define WC_DEPRECATED(msg) __pragma(deprecated)
106-
#endif
107101
#elif (defined(__GNUC__) && (__GNUC__ >= 4)) || \
108102
defined(__IAR_SYSTEMS_ICC__)
109103
#define WC_DEPRECATED(msg) __attribute__((deprecated))

0 commit comments

Comments
 (0)