From 48defac76a00b21c3ac5ca8081eb0872e7b71fda Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Mon, 27 Dec 2010 21:12:35 +0000 Subject: [PATCH] 2010-12-27 Seth Jackson * include/winbase.h (GetComputerNameEx): Define. --- winsup/w32api/ChangeLog | 6 +++++- winsup/w32api/include/winbase.h | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 11fbf5dc5..3876fc8c9 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,4 +1,8 @@ -2010-09-22 Ryan Lortie +2010-12-27 Seth Jackson + + * include/winbase.h (GetComputerNameEx): Define. + +2010-12-27 Ryan Lortie * include/winbase.h (TzSpecificLocalTimeToSystemTime): Define. diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index c8a5b3122..a3ce7784e 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -2293,6 +2293,9 @@ typedef PCACTCTXW PCACTCTX; #define GetCommandLine GetCommandLineW #define GetCompressedFileSize GetCompressedFileSizeW #define GetComputerName GetComputerNameW +#if (_WIN32_WINNT >= 0x0500) +#define GetComputerNameEx GetComputerNameExW +#endif #define GetCurrentDirectory GetCurrentDirectoryW #define GetDefaultCommConfig GetDefaultCommConfigW #define GetDiskFreeSpace GetDiskFreeSpaceW @@ -2497,6 +2500,9 @@ typedef PCACTCTXA PCACTCTX; #define GetBinaryType GetBinaryTypeA #define GetCommandLine GetCommandLineA #define GetComputerName GetComputerNameA +#if (_WIN32_WINNT >= 0x0500) +#define GetComputerNameEx GetComputerNameExA +#endif #define GetCompressedFileSize GetCompressedFileSizeA #define GetCurrentDirectory GetCurrentDirectoryA #define GetDefaultCommConfig GetDefaultCommConfigA