summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--include/dlt/dlt_cpp_extension.hpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ae59698..18eea73 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,7 +68,7 @@ option(WITH_DLT_EXAMPLES "Set to ON to build src/examples binaries"
option(WITH_DLT_SYSTEM "Set to ON to build src/system binaries" ON)
option(WITH_DLT_DBUS "Set to ON to build src/dbus binaries" ON)
option(WITH_DLT_TESTS "Set to ON to build src/test binaries" ON)
-option(WITH_DLT_CXX11_EXT "Set to ON to build C++11 extensions" ON)
+option(WITH_DLT_CXX11_EXT "Set to ON to build C++11 extensions" OFF)
# RPM settings
set( GENIVI_RPM_RELEASE "1")#${DLT_REVISION}")
set( LICENSE "Mozilla Public License Version 2.0" )
diff --git a/include/dlt/dlt_cpp_extension.hpp b/include/dlt/dlt_cpp_extension.hpp
index 1eaf4d2..fe344e5 100644
--- a/include/dlt/dlt_cpp_extension.hpp
+++ b/include/dlt/dlt_cpp_extension.hpp
@@ -27,12 +27,13 @@
#ifndef DLT_CPP_EXTENSION_HPP
#define DLT_CPP_EXTENSION_HPP
-#include <dlt/dlt.h>
#include <string>
#include <vector>
#include <list>
#include <map>
+#include "dlt.h"
+
template<typename T>
int32_t logToDlt(DltContextData &log, T const &value) = delete;