summaryrefslogtreecommitdiffstats
path: root/host/lib/version.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-04-19 16:58:12 -0700
committerJosh Blum <josh@joshknows.com>2011-04-19 16:58:12 -0700
commit00bc8d50d5a2528704441ef5532fea13106a8d30 (patch)
tree0803774f3d0d73ab1be97aecb39f2e3996fe5e19 /host/lib/version.cpp
parent06e10b5f469b8b06af33a8a95a6302a1e365b396 (diff)
downloaduhd-00bc8d50d5a2528704441ef5532fea13106a8d30.tar.gz
uhd-00bc8d50d5a2528704441ef5532fea13106a8d30.tar.bz2
uhd-00bc8d50d5a2528704441ef5532fea13106a8d30.zip
uhd: removed constants.hpp.in, replaced w/ per source compile defines
Diffstat (limited to 'host/lib/version.cpp')
-rw-r--r--host/lib/version.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/host/lib/version.cpp b/host/lib/version.cpp
index 93fdecb1a..d75cc8fda 100644
--- a/host/lib/version.cpp
+++ b/host/lib/version.cpp
@@ -15,13 +15,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
-#include "constants.hpp"
#include <uhd/version.hpp>
-
-std::string uhd::get_version_string(void){
- return UHD_VERSION_STRING;
-}
-
#include <uhd/utils/static.hpp>
#include <boost/version.hpp>
#include <iostream>
@@ -31,7 +25,7 @@ UHD_STATIC_BLOCK(print_system_info){
<< BOOST_PLATFORM << "; "
<< BOOST_COMPILER << "; "
<< "Boost_" << BOOST_VERSION << "; "
- << "UHD_" << uhd::get_version_string()
+ << "UHD_" << UHD_VERSION_STRING
<< std::endl << std::endl
;
}