From: Justin Lebar Date: Tue, 29 Mar 2016 16:24:23 +0000 (+0000) Subject: [CUDA] Add missing #undef __DEVICE__ to CUDA shim header. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bdbac4893805e6d92539aef918fff0e18833596e;p=clang [CUDA] Add missing #undef __DEVICE__ to CUDA shim header. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264742 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Headers/__clang_cuda_cmath.h b/lib/Headers/__clang_cuda_cmath.h index 0d865d2074..9fe3f712c7 100644 --- a/lib/Headers/__clang_cuda_cmath.h +++ b/lib/Headers/__clang_cuda_cmath.h @@ -194,4 +194,6 @@ using ::trunc; } // namespace std +#undef __DEVICE__ + #endif