diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-03 09:46:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-03 09:46:29 +0200 |
commit | 6c23e1ad43f143ee8b694b907432c5801713a7d5 (patch) | |
tree | ca9199e86c47211114c4063a04fc4e1063a74432 /opentrack | |
parent | 340906d3571ba3c75e67d8457de4129381d5a6b3 (diff) |
fix MSVC, now runs
Diffstat (limited to 'opentrack')
-rw-r--r-- | opentrack/version.C | 5 | ||||
-rw-r--r-- | opentrack/version.cc | 9 |
2 files changed, 9 insertions, 5 deletions
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; |