]> git.lyx.org Git - lyx.git/blobdiff - src/version.cpp
listerrors.lyx : Update a link.
[lyx.git] / src / version.cpp
index ccd44281f96c584a1ab49c4246bedb9b29de3a41..2ae59923a21244294827aadb8f963aa069d69f97 100644 (file)
 #include <config.h>
 
 ///
-char const * lyx_version = PACKAGE_VERSION;
+extern char const * const lyx_version = PACKAGE_VERSION;
 ///
-char const * lyx_release_date = LYX_DATE;
+extern const int lyx_version_major = LYX_MAJOR_VERSION;
+extern const int lyx_version_minor = LYX_MINOR_VERSION;
+///
+extern char const * const lyx_release_date = LYX_DATE;
+
+/// Package identifier (lyx[-<version-suffix>])
+extern char const * const lyx_package = PACKAGE;
 
 /// This is the version information shown by 'lyx --version'
-char const * lyx_version_info = VERSION_INFO;
+extern char const * const lyx_version_info = VERSION_INFO;