From 6c23e1ad43f143ee8b694b907432c5801713a7d5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 3 Jul 2015 09:46:29 +0200 Subject: fix MSVC, now runs --- opentrack/version.C | 5 ----- opentrack/version.cc | 9 +++++++++ 2 files changed, 9 insertions(+), 5 deletions(-) delete mode 100644 opentrack/version.C create mode 100644 opentrack/version.cc (limited to 'opentrack') diff --git a/opentrack/version.C b/opentrack/version.C deleted file mode 100644 index 0ef4ec14..00000000 --- a/opentrack/version.C +++ /dev/null @@ -1,5 +0,0 @@ -#ifdef IN_VERSION_UNIT -# define IN_CRAPOLA_COMPILE_UNIT -volatile const char* opentrack_version = OPENTRACK_VERSION; -#else -#endif diff --git a/opentrack/version.cc b/opentrack/version.cc new file mode 100644 index 00000000..026ad057 --- /dev/null +++ b/opentrack/version.cc @@ -0,0 +1,9 @@ +#include "opentrack/export.hpp" + +#ifdef __cplusplus +extern "C" +#endif +OPENTRACK_EXPORT +volatile const char* opentrack_version; + +volatile const char* opentrack_version = OPENTRACK_VERSION; -- cgit v1.2.3