title: LLVM-GCC ASM to LLVM in XCode
body: <p>I got the 2 following definition that compile (and work) just fine using XCode LLVM-GCC compiler:</p>
  
  <pre><code>#define SAVE_STACK(v)__asm { mov v, ESP }
  #define RESTORE_STACK __asm {sub ESP, s }
  </code></pre>
  
  <p>However when I change the compiler to Apple LLVM I got the following error:</p>
  
  <pre><code>Expected '(' after 'asm'
  </code></pre>
  
  <p>I replace the {} with () but that doesn't do the trick, I google on that error couldn't find anything useful... anyone?</p>