Michael Rigby-Jones bookham.com> writes: > Oops, reposted due to being at work too late and writing gibberish! I meant to > say: > Unless I have missed something this will fail to compile if HEADER_C *is* > defined, since the EXT symbol will not exist. Yes, my omission. Your addition is correct: > #ifndef HEADER_C > #define EXT extern > #else > #define EXT > #endif Peter P. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist