----- Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote: > Any better check? Any simple way to add a typedef only if it is not > defined? No. The preprocessor cannot see typedefs, and the compiler does not support conditional compilation. -- Kevin P. Fleming Senior Software Engineer Digium, Inc.