[haiku-commits] Re: haiku: hrev47030 - headers/build

  • From: "Alexander G. M. Smith" <agmsmith@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 19 Mar 2014 08:49:46 -0400

Stephan Aßmus<superstippi@xxxxxx>  wrote:
e883b3c: Fixed multi-line #ifdef

I definitely compiled last night, but how in the world was that possible?

-#if !defined(HAIKU_TARGET_PLATFORM_LIBBE_TEST)
+#if !defined(HAIKU_TARGET_PLATFORM_LIBBE_TEST) \
        && !defined(B_SPINLOCK_INITIALIZER)
 #      define B_SPINLOCK_INITIALIZER 0
 #endif

Easy - if the faulty #if was false, all the garbled text was skipped.

- Alex


Other related posts: