mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
[NFC] Do not use reserved names for include guards (#1737)
Names that begin with an underscore followed by an uppercase letter are reserved for the C++ implementation. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
c8061ab21a
commit
475a37abbf
@@ -13,8 +13,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
#ifndef _COMPAT_H_
|
||||
#define _COMPAT_H_
|
||||
#ifndef COMPAT_H_
|
||||
#define COMPAT_H_
|
||||
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
#include <Windows.h>
|
||||
@@ -398,4 +398,4 @@ EXTERN_C int __builtin_clz(unsigned int pattern);
|
||||
#define sleep(sec) Sleep((sec)*1000)
|
||||
#endif
|
||||
|
||||
#endif // _COMPAT_H_
|
||||
#endif // COMPAT_H_
|
||||
|
||||
@@ -15,8 +15,8 @@ Agreement or Khronos Conformance Test Source License Agreement as
|
||||
executed between Khronos and the recipient.
|
||||
******************************************************************/
|
||||
|
||||
#ifndef _CRC32_H_
|
||||
#define _CRC32_H_
|
||||
#ifndef CRC32_H_
|
||||
#define CRC32_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
Reference in New Issue
Block a user