summaryrefslogtreecommitdiffstats
path: root/vec_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'vec_test.h')
-rw-r--r--vec_test.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vec_test.h b/vec_test.h
index 7906801..8222919 100644
--- a/vec_test.h
+++ b/vec_test.h
@@ -8,6 +8,9 @@
#include "vec_base.h"
#include <cmath>
+#ifndef VML_NO_IOSTREAM
+# include <sstream>
+#endif
@@ -417,6 +420,7 @@ namespace vecmathlib {
typedef real_t vector_t[size];
static int const alignment = sizeof(real_t);
+#ifndef VML_NO_IOSTREAM
static char const* name()
{
static std::string name_;
@@ -427,6 +431,7 @@ namespace vecmathlib {
}
return name_.c_str();
}
+#endif
void barrier()
{
#if defined __GNUC__ && !defined __clang__ && !defined __ICC
OpenPOWER on IntegriCloud