Files
swift-mirror/test/Inputs/clang-importer-sdk/usr/include/dyld.h
Jordan Rose 0178453f45 [ClangImporter] Pretend dyld.h's DYLD_BOOL was declared with NS_ENUM.
We wouldn't care except that its constants are named TRUE and FALSE and
that shows up in the global namespace.

rdar://problem/20943410

Swift SVN r29651
2015-06-25 01:45:13 +00:00

20 lines
281 B
C

#ifndef _MACH_O_DYLD_H_
#define _MACH_O_DYLD_H_
#if __cplusplus
extern "C" {
#endif
#ifndef ENUM_DYLD_BOOL
#define ENUM_DYLD_BOOL
#undef FALSE
#undef TRUE
enum DYLD_BOOL { FALSE, TRUE };
#endif /* ENUM_DYLD_BOOL */
#if __cplusplus
}
#endif
#endif /* _MACH_O_DYLD_H_ */