[haiku-development] Re: Implement 32 bit userland support for 64 bit Haiku

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 18 May 2018 19:42:09 +0000

18 mai 2018 21:24 "waddlesplash" <waddlesplash@xxxxxxxxx> a écrit:

Personally I like the ifdef style, but I'm also not one of the people who 
will be reading this code
most often.

(please don't top post :))

For full reference, the original code was:

#if _COMPAT_MODE
if ((thread->flags & THREAD_FLAGS_COMPAT_MODE) != 0) {

} else
#endif
{
}

I don't like the use of the #endif intermixed with the else braces in that case.

-- 
Adrien.

Other related posts: