[haiku-commits] Re: BRANCH mmadia-github.separate-build-environment - in headers/build/posix_target/sys: . headers/build

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 04 Aug 2012 17:06:32 +0200

Matt Madia wrote:
> On 8/4/12, mmadia-github.separate-build-environment
> <community@xxxxxxxxxxxx> wrote:
> > added 2 changesets to branch
> > 'refs/remotes/mmadia-github/separate-build-environment'
> > old head: da64f2f649f6fc52cee1bb3fbdbbceb6ebe9ed95
> > new head: d57fcae57a42f03dc84c2409c62f66e0f3555d15
> >
> 
> > diff --git a/headers/build/HaikuBuild.h b/headers/build/HaikuBuild.h
> > index 73d6aad..8144b06 100644
> > --- a/headers/build/HaikuBuild.h
> > +++ b/headers/build/HaikuBuild.h
> > @@ -35,5 +35,10 @@
> > __asm__(_HAIKU_BUILD_ASMNAME("_haiku_build" #name));
> > #endif
> >
> > +#ifdef _HAIKU_BUILD_LIBROOT_FUNCTION_WRAPPER
> > +# define _HAIKU_BUILD_IDENTIFIER(name) name
> > +#else
> > +# define _HAIKU_BUILD_IDENTIFIER(name) _haiku_build_##name
> > +#endif
> >
> > #endif /* _HAIKU_BUILD_H */
> 
> 
> Comparing this to the other helper macros, Should these two defines be
> swaped around?

They are the wrong way around above.

BTW, you can join the #ifdef blocks.

CU, Ingo

Other related posts: