summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Common.h
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-08-02 06:04:38 (GMT)
committerGitHub <noreply@github.com>2017-08-02 06:04:38 (GMT)
commit97e72c5cb5e70eca231f74f01097c9b2392b4c98 (patch)
treef90d4ceb9d48fdc0dc240fce031dc81308e471dd /src/uscxml/Common.h
parent998e624aaddb237767f5d80e0ff12eb2cfdc814b (diff)
parent045bde78c0587316e0373c7698413412d0f315f9 (diff)
downloaduscxml-97e72c5cb5e70eca231f74f01097c9b2392b4c98.zip
uscxml-97e72c5cb5e70eca231f74f01097c9b2392b4c98.tar.gz
uscxml-97e72c5cb5e70eca231f74f01097c9b2392b4c98.tar.bz2
Merge pull request #165 from tklab-tud/sradomski
Reenabled V8, Debugger tests and smaller fixes
Diffstat (limited to 'src/uscxml/Common.h')
-rw-r--r--src/uscxml/Common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/uscxml/Common.h b/src/uscxml/Common.h
index abe4921..7d254be 100644
--- a/src/uscxml/Common.h
+++ b/src/uscxml/Common.h
@@ -26,7 +26,9 @@
#define ELPP_STACKTRACE_ON_CRASH 1
#endif
-#if __cplusplus >= 201402L
+#if defined(SWIGIMPORTED) || defined(SWIG)
+#define DEPRECATED
+#elif __cplusplus >= 201402L
#define DEPRECATED [[deprecated]]
#elif defined(__GNUC__)
#define DEPRECATED __attribute__((deprecated))
@@ -37,6 +39,7 @@
#define DEPRECATED(alternative)
#endif
+
#if defined(_WIN32) && !defined(USCXML_STATIC)
# ifdef USCXML_EXPORT
# define USCXML_API __declspec(dllexport)