title: Typedef redefinition with different types nsuinteger (aka unsigned int) vs cdvdestinationtype
body: <p>I am using Cordova, <code>#import &lt;Cordova/CDV.h&gt;</code> and in my project, I use another library which is in C++ style, so, my file has to be <code>*.mm</code>.</p>
  
  <p>The problem is that when I compile, I get the following error:</p>
  
  <pre><code>typedef redefinition with different types nsuinteger (aka unsigned int) vs cdvdestinationtype
  </code></pre>
  
  <p>This error is in <code>CDVCamera.h</code>:</p>
  
  <pre><code>enum CDVDestinationType {
      DestinationTypeDataUrl = 0,
      DestinationTypeFileUri
  };
  typedef NSUInteger CDVDestinationType;
  </code></pre>
  
  <p>It seems that the problem comes from the fact that I mix Objective-C and C++.</p>
  
  <p>How can I solve it?</p>