You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by John Mark Vandenberg <ja...@gmail.com> on 2006/04/15 03:41:34 UTC
[patch 16/17] win32api omission
LOGON32_LOGON_NETWORK is not defined in win32api headers.
threadproc/win32/proc.c: In function `apr_procattr_user_set':
threadproc/win32/proc.c:269: `LOGON32_LOGON_NETWORK' undeclared (first use in this function)
Index: threadproc/win32/proc.c
===================================================================
--- threadproc/win32/proc.c (revision 387026)
+++ threadproc/win32/proc.c (working copy)
@@ -32,6 +32,10 @@
#include <process.h>
#endif
+#ifndef LOGON32_LOGON_NETWORK
+#define LOGON32_LOGON_NETWORK 3
+#endif
+
#ifdef _WIN32_WCE
#ifndef DETACHED_PROCESS
#define DETACHED_PROCESS 0
--
Re: [patch 16/17] win32api omission
Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On 7/12/06, John Vandenberg <ja...@gmail.com> wrote:
> I was using win32api-2.4, which comes with MinGW-3.1.0-1.exe.
>
> I'll upgrade to the candidate installer MinGW-5.0.3.exe and try building trunk.
Note that I'm not done incorporating all of your patches yet... =)
And, yes, I used the mingw 5.0.3 installer.
Thanks for all of your patches - it makes this job a *lot* easier! -- justin
Re: [patch 16/17] win32api omission
Posted by John Vandenberg <ja...@gmail.com>.
On 7/13/06, Justin Erenkrantz <ju...@erenkrantz.com> wrote:
> On 4/14/06, John Mark Vandenberg <ja...@gmail.com> wrote:
> > LOGON32_LOGON_NETWORK is not defined in win32api headers.
> >
> > threadproc/win32/proc.c: In function `apr_procattr_user_set':
> > threadproc/win32/proc.c:269: `LOGON32_LOGON_NETWORK' undeclared
> > (first use in this function)
>
> My version of mingw has this symbol defined now, so there's no need to
> apply this patch.
I was using win32api-2.4, which comes with MinGW-3.1.0-1.exe.
I'll upgrade to the candidate installer MinGW-5.0.3.exe and try building trunk.
--
John
Re: [patch 16/17] win32api omission
Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On 4/14/06, John Mark Vandenberg <ja...@gmail.com> wrote:
> LOGON32_LOGON_NETWORK is not defined in win32api headers.
>
> threadproc/win32/proc.c: In function `apr_procattr_user_set':
> threadproc/win32/proc.c:269: `LOGON32_LOGON_NETWORK' undeclared (first use in this function)
My version of mingw has this symbol defined now, so there's no need to
apply this patch.
Thanks! -- justin