Re: Missing #include from glib/gwin32.c ?

2015-10-16 Thread Victor Aurélio Santos
Apparently at ntdef.h, try that I didn't tested.
On Oct 16, 2015 10:23 AM, "John Emmas"  wrote:

> I just updated glib (from git) and tried to build the glib-2-44 branch,
> using MSVC8.  I'm getting a compiler error at line 568 which looks like
> this:-
>
>   typedef NTSTATUS fRtlGetVersion (PRTL_OSVERSIONINFOEXW);
>
> Basically, my compiler doesn't recognise NTSTATUS.  If I substitute LONG
> instead of NTSTATUS, everything builds okay, so I'm assuming there's a
> missing #include.  I tried #including  and when that didn't
> work, I tried #include  (but that didn't work either).
>
> Can anyone advise me what needs to get #included in order for NTSTATUS to
> get recognised?  Thanks.
>
> John
> P.S. I assume the same problem might also exist in 'master' although I
> haven't had a chance to try that yet.
> ___
> gtk-devel-list mailing list
> gtk-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-devel-list
>
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Missing #include from glib/gwin32.c ?

2015-10-16 Thread John Emmas

On 16/10/2015 15:21, Victor Aurélio Santos wrote:


Apparently at ntdef.h, try that I didn't tested.



Hi Victor and thanks for the quick reply.

I think ntdef.h might be MinGW specific (I can't find it in MSVC) but 
after a bit of experimenting I found 4 other header files which fix the 
problem (if I #include any of them).  The 2 most promising are probably:-


#include   -  or
#include 

and these two also work:-

#include   -  or
#include 

Conversely of course, it's possible that some of those might be MSVC 
specific and not applicable to MinGW!  Maybe Chun-wei Fan will be able 
to help us if he's around later.  Thanks again.


John
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list