diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-03-21 13:04:33 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-03-21 13:04:33 -0400 |
commit | 30e0b1ccfe1dc82f89c68d7ef9cf8fc1212458f5 (patch) | |
tree | f69888ba6ce4c06785c0ce53e8f42bb77b278f35 /pocl | |
parent | 0c83cebf3c077cf7f9df1350d92a9d4a579251ad (diff) | |
download | vecmathlib-30e0b1ccfe1dc82f89c68d7ef9cf8fc1212458f5.zip vecmathlib-30e0b1ccfe1dc82f89c68d7ef9cf8fc1212458f5.tar.gz |
Remove typeinfo work-around that is not necessary any more
Diffstat (limited to 'pocl')
-rw-r--r-- | pocl/pocl-compat.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/pocl/pocl-compat.h b/pocl/pocl-compat.h index 751bd33..a699b2a 100644 --- a/pocl/pocl-compat.h +++ b/pocl/pocl-compat.h @@ -1,26 +1,16 @@ // -*-C++-*- Compatibility layer to help instantiante functions to // create a library that can be called from elsewhere -/* This workaround is needed for older libstdc++ - versions such as the one in Debian 6.0 when compiled with clang++ - http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-February/013207.html - The version time stamp used below is the one in Debian 6.0. -*/ -#include <cstring> - -#if defined(__GLIBCXX__) && __GLIBCXX__ <= 20101114 - -namespace std { class type_info; } - -#endif - // Make things go fast (and debugging difficult...) #define VML_NODEBUG #include "../vecmathlib.h" #include <cstdint> +#include <cstring> + + // Define vector types |