Disallow multiple inclusion of clang/Config/config.h
Internal config.h headers are only meant to be included from the main file. llvm-svn: 210487
This commit is contained in:
parent
297c826385
commit
9ea60874aa
@ -1,4 +1,8 @@
|
||||
#ifndef CONFIG_H
|
||||
/* This generated file is for internal use. Do not include it from headers. */
|
||||
|
||||
#ifdef CONFIG_H
|
||||
#error config.h can only be included once
|
||||
#else
|
||||
#define CONFIG_H
|
||||
|
||||
/* Bug report URL. */
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
#ifndef CONFIG_H
|
||||
/* This generated file is for internal use. Do not include it from headers. */
|
||||
|
||||
#ifdef CONFIG_H
|
||||
#error config.h can only be included once
|
||||
#else
|
||||
#define CONFIG_H
|
||||
|
||||
/* Bug report URL. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user