typedef IOSimpleLock *spin_lock_t
I found that in some manner of cross-platform code. You lose meant that your platform wasn't supported. This was long before #error was created.
Personally, I prefer you lose
I've had some trouble getting Linux locking code to work on Mac OS X, but I've got it partly working. I know what to do first thing tomorrow.
I don't want to stay late because I've got designs on a new barista.