title: Typedef redefinition error when trying to build XCode project for release
body: <p>I can build my project in Xcode(4.2) for debugging without issues, but when I want to build it for release (build for archiving) I get error:"Typedef redefinition with different types (unsigned int vs unsigned long)".</p>
  
  <p>Problematic code is:</p>
  
  <pre><code>#ifdef _LZMA_UINT32_IS_ULONG 
  typedef long Int32; 
  typedef unsigned long UInt32; 
  #else 
  typedef int Int32; 
  typedef unsigned int UInt32; &lt;--error on this line
  #endif
  </code></pre>
  
  <p>You can see whole file on: 
  <a href="http://read.pudn.com/downloads166/sourcecode/zip/758136/C/Types.h__.htm" rel="nofollow">http://read.pudn.com/downloads166/sourcecode/zip/758136/C/Types.h__.htm</a></p>
  
  <p>Previous definition is in MacTypes.h from CoreServices framework.</p>
  
  <p>I have the same preprocessor macros for Debug and Release, and I am using Apple's LLVM compiler 3.0. Same error happens when I try to build project for analyzing.</p>
  
  <p>Any idea why this is happening?</p>