[CUDA] Switch cuda_wrappers/complex to use a proper include guard instead of #pragma once.

This is consistent with the rest of our internal headers.

llvm-svn: 285250
This commit is contained in:
Justin Lebar 2016-10-26 22:13:20 +00:00
parent f4df0edf3e
commit 6f5ec7ee88
1 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,8 @@
*===-----------------------------------------------------------------------===
*/
#pragma once
#ifndef __CLANG_CUDA_WRAPPERS_COMPLEX
#define __CLANG_CUDA_WRAPPERS_COMPLEX
// Wrapper around <complex> that forces its functions to be __host__
// __device__.
@ -77,3 +78,5 @@
#pragma pop_macro("_GLIBCXX_USE_C99_COMPLEX")
#pragma clang force_cuda_host_device end
#endif // include guard