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

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 06 Aug 2012 11:45:17 +0200

On 2012-08-06 at 03:49:36 [+0200], mmadia-github.separate-build-environment 
<community@xxxxxxxxxxxx> wrote:
[...]
> +/* special timezone support */
> +extern char *_haiku_build_tzname[2];
> +extern int     _haiku_build_daylight;
> +extern long    _haiku_build_timezone;

Those are variables, so you need to use _HAIKU_BUILD_DECLARE_CONSTANT 
(which should be renamed to *_VARIABLE, since there apparently also are 
non-constant variables). You'll even need an *_ETC version for the array.

CU, Ingo

Other related posts: