From a37e07482c0a1ebb4be22d9d22c2bc6106e11a47 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 2 Oct 2009 13:49:39 +0000 Subject: [PATCH] * mkpasswd.c: Properly define __progname as __declspec(dllimport). * mkgroup.c: Ditto. --- winsup/utils/mkgroup.c | 2 +- winsup/utils/mkpasswd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/utils/mkgroup.c b/winsup/utils/mkgroup.c index fe55651e2..19b679ee1 100644 --- a/winsup/utils/mkgroup.c +++ b/winsup/utils/mkgroup.c @@ -35,7 +35,7 @@ static const char version[] = "$Revision$"; -extern char *__progname; +extern char *__progname __declspec(dllimport); SID_IDENTIFIER_AUTHORITY sid_world_auth = {SECURITY_WORLD_SID_AUTHORITY}; SID_IDENTIFIER_AUTHORITY sid_nt_auth = {SECURITY_NT_AUTHORITY}; diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c index f7c910ba1..36c462267 100644 --- a/winsup/utils/mkpasswd.c +++ b/winsup/utils/mkpasswd.c @@ -35,7 +35,7 @@ static const char version[] = "$Revision$"; -extern char *__progname; +extern char *__progname __declspec(dllimport); SID_IDENTIFIER_AUTHORITY sid_world_auth = {SECURITY_WORLD_SID_AUTHORITY}; SID_IDENTIFIER_AUTHORITY sid_nt_auth = {SECURITY_NT_AUTHORITY}; -- 2.43.5