Paul Eggert wrote:

Hmm, is it because of the '#define __inline' to nothing later on? OK, I can see 
where that might be an issue.

Exactly, in glob.c which includes the Windows-SDK function:
  __inline struct _TEB *NtCurrentTeb (void)
  {
    return (struct _TEB *) (ULONG_PTR) __readfsdword (0x18);
  }

Prior to this change it caused multiple 'NtCurrentTeb()'.
But with your changes, no problem (tested with Wget).

PS. You write "several ways" but mention only 2 ways; are there other things 
that need fixing?

There are some other trivial stuff in:
  ./lib/count-leading-zeros.h
  ./lib/count-one-bits.h
  ./lib/iconv.in.h
  ./lib/inttypes.in.h
  ./lib/localtime-buffer.c

which I'll come back to.

--
--gv

Reply via email to