[CUDA] Add missing #undef __DEVICE__ to CUDA shim header.
authorJustin Lebar <jlebar@google.com>
Tue, 29 Mar 2016 16:24:23 +0000 (16:24 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 29 Mar 2016 16:24:23 +0000 (16:24 +0000)
llvm-svn: 264742

clang/lib/Headers/__clang_cuda_cmath.h

index 0d865d2..9fe3f71 100644 (file)
@@ -194,4 +194,6 @@ using ::trunc;
 
 } // namespace std
 
+#undef __DEVICE__
+
 #endif