Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!hplabs!hpl-opus!hpnmdla!hpsad!jose From: jose@hpsad.HP.COM (Jose Gomez-Rubio (SEED Student)) Newsgroups: comp.lang.c Subject: undefining a typedef Message-ID: <1820006@hpsad.HP.COM> Date: 10 Aug 90 16:07:33 GMT Organization: HP Signal Analysis Division - Rohnert Park, CA Lines: 16 How does one undefine a typedef construction in a header file? The problem is that a specific typedef construction is declared unconditionally in 3 separate header files in a source file that includes those 3 specific header files. I've tried #ifndef foobar ... #endif and #if !defined (foobar) ... #endif to no avail. The compiler still complains about redefinition of typedef and refuses to continue. In the interim, I've commented out the typedef's but I think there is a better solution. Thanks for the help! -- jose@hpsad.hp.com