On 2012-08-04 at 03:51:53 [+0200], Matt Madia <mattmadia@xxxxxxxxx> wrote: > On 8/3/12, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote: > > On 2012-08-03 at 02:49:15 [+0200], > > mmadia-github.separate-build-environment > > <community@xxxxxxxxxxxx> wrote: > > > Constant declarations must be handled like function prototypes. Define a > > new > > helper macro similar to _HAIKU_BUILD_DECLARE_FUNCTION in HaikuBuild.h for > > that purpose (untested): > > > > #ifdef _HAIKU_BUILD_LIBROOT_FUNCTION_WRAPPER > > #define _HAIKU_BUILD_DECLARE_CONSTANT(type, name) \ > > extern type _haiku_build##name; \ > > #else > > #define _HAIKU_BUILD_DECLARE_CONSTANT(type, name) \ > > extern type _haiku_build##name; \ > > extern type name \ > > __asm__(_HAIKU_BUILD_ASMNAME("_haiku_build" #name)); > > #endif > > Is there supposed to be that trailing slash before #else? No, that's just a copy and paste oversight. CU, Ingo