Skip to content

Commit af55bff

Browse files
committed
Use an include guard instead of #pragma once
In asan/TestCases/defines.h
1 parent f8b8f0d commit af55bff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler-rt/test/asan/TestCases/defines.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#pragma once
1+
#ifndef SANITIZER_TEST_DEFINES_H
2+
#define SANITIZER_TEST_DEFINES_H
23

34
#if defined(_MSC_VER) && !defined(__clang__)
45
# include <intrin.h>
@@ -29,3 +30,5 @@
2930
# define MULTIPLE_ATTRIBUTE_DECL(a, b) __attribute__((a, b))
3031

3132
#endif // _MSC_VER
33+
34+
#endif // SANITIZER_TEST_DEFINES

0 commit comments

Comments
 (0)