changeset 4351:d300ace4acad

fix for msvc2008
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 06 Dec 2020 20:30:12 +0100
parents e457c30970cf
children 0ba23b4891b2 df15262373b0
files OrthancFramework/Sources/Compatibility.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/Compatibility.h	Sun Dec 06 13:16:27 2020 +0100
+++ b/OrthancFramework/Sources/Compatibility.h	Sun Dec 06 20:30:12 2020 +0100
@@ -39,7 +39,7 @@
 #elif defined(__GNUC__) || defined(__clang__)
 #  define ORTHANC_DEPRECATED(f) f __attribute__((deprecated))
 #elif defined(_MSC_VER)
-#  define ORTHANC_DEPRECATED(f) f __declspec(deprecated)
+#  define ORTHANC_DEPRECATED(f) __declspec(deprecated) f
 #else
 #  define ORTHANC_DEPRECATED
 #endif