Ewww… don't put macros in a .pch file! A .pch file is, by definition, a project specific precompiled header. It really shouldn't be used beyond the context of the project and it really shouldn't contain anything but #include
s and #import
s.
If you have some macros and such that you want to share between headers, then stick 'em in a header file of their own — Common.h
or whatever — and #include
that at the beginning of the .pch.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…