回覆: Missing #include from glib/gwin32.c ?



Hi John,

Can I know what is the Windows SDK you are using?  Most probably the SDK you are using is too old.  If upgrading the SDK is not an option, you will have to define NTSTATUS as LONG (or let me know).

With blessings.

寄件者: John Emmas
寄件日期: ‎2015/‎10/‎16 21:23
收件者: gtk-devel-list
主旨: Missing #include from glib/gwin32.c ?

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 <ntstatus.h> and when that didn't
work, I tried #include <winnt.h> (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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]