[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    =?utf-8?Q?=E5=9B=9E=E8=A6=86:_Missing_#include_from_glib/gwin32.c_=3F?=
From:       "Fan, Chun-wei" <fanc999 () yahoo ! com ! tw>
Date:       2015-10-16 15:07:04
Message-ID: 804172.32455.bm () smtp115 ! mail ! sg3 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi John,

I think winternl.h is a good bet as well.  It is used elsewhere as well in the code.

With blessings.  Sorry for the noise from the earlier email.
---
Hi Victor,

Can you see whether winternl.h works for you?
---
With blessings, thank you.
 

----- 原始郵件 -----
寄件者: "John Emmas" <johne53@tiscali.co.uk>
寄件日期: ‎2015/‎10/‎16 22:59
副本: "gtk-devel-list" <gtk-devel-list@gnome.org>
主旨: Re: Missing #include from glib/gwin32.c ?

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 <wincred.h>  -  or
         #include <winternl.h>

and these two also work:-

         #include <ntsecapi.h>  -  or
         #include <subauth.h>

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

[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; \
font-size: 11pt;">Hi John,<br><br>I think winternl.h is a good bet as well.&nbsp; It \
is used elsewhere as well in the code.<br><br>With blessings.&nbsp; Sorry for the \
noise from the earlier email.<br>---<br>Hi Victor,<br><br>Can you see whether \
winternl.h works for you?<br>---<br>With blessings, thank you.<br> </div></div><div \
dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; \
font-weight: bold;">寄件者: </span><span style="font-family: Calibri,sans-serif; \
font-size: 11pt;"><a href="mailto:johne53@tiscali.co.uk">John \
Emmas</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; \
font-weight: bold;">寄件日期: </span><span style="font-family: \
Calibri,sans-serif; font-size: 11pt;">‎2015/‎10/‎16 22:59</span><br><span \
style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">副本: \
</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a \
href="mailto:gtk-devel-list@gnome.org">gtk-devel-list</a></span><br><span \
style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">主旨: \
</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: Missing \
#include from glib/gwin32.c ?</span><br><br></div>On 16/10/2015 15:21, Victor \
Aurélio Santos wrote:<br>&gt;<br>&gt; Apparently at ntdef.h, try that I didn't \
tested.<br>&gt;<br><br>Hi Victor and thanks for the quick reply.<br><br>I think \
ntdef.h might be MinGW specific (I can't find it in MSVC) but <br>after a bit of \
experimenting I found 4 other header files which fix the <br>problem (if I #include \
any of them).&nbsp; The 2 most promising are \
probably:-<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #include \
&lt;wincred.h&gt;&nbsp; -&nbsp; \
or<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #include \
&lt;winternl.h&gt;<br><br>and these two also \
work:-<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #include \
&lt;ntsecapi.h&gt;&nbsp; -&nbsp; \
or<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #include \
&lt;subauth.h&gt;<br><br>Conversely of course, it's possible that some of those might \
be MSVC <br>specific and not applicable to MinGW!&nbsp; Maybe Chun-wei Fan will be \
able <br>to help us if he's around later.&nbsp; Thanks \
again.<br><br>John<br>_______________________________________________<br>gtk-devel-list \
mailing list<br>gtk-devel-list@gnome.org<br>https://mail.gnome.org/mailman/listinfo/gtk-devel-list<br></body></html>




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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic