Skip to content

Instantly share code, notes, and snippets.

@myfinder
Created December 11, 2011 13:30
427c427,429
< for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; )
---
> /* To work around MacOS llvm-gcc bug: http://llvm.org/bugs/show_bug.cgi?id=9891 */
> const void* civ_start = const_iv;
> for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > civ_start; )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment