]> granicus.if.org Git - clang/commitdiff
[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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264742 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/__clang_cuda_cmath.h

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