mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-08 04:07:02 -06:00
4.54 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
051769bbc5
commit
b82f80647d
@@ -2,8 +2,7 @@
|
||||
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include <initguid.h>
|
||||
|
||||
#include "Common/MyInitGuid.h"
|
||||
#include "Common/StringConvert.h"
|
||||
#include "Common/IntToString.h"
|
||||
|
||||
@@ -45,6 +44,7 @@ typedef UINT32 (WINAPI * CreateObjectFunc)(
|
||||
const GUID *interfaceID,
|
||||
void **outObject);
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef _UNICODE
|
||||
bool g_IsNT = false;
|
||||
static inline bool IsItWindowsNT()
|
||||
@@ -56,6 +56,7 @@ static inline bool IsItWindowsNT()
|
||||
return (versionInfo.dwPlatformId == VER_PLATFORM_WIN32_NT);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
void PrintString(const UString &s)
|
||||
{
|
||||
@@ -678,9 +679,11 @@ __cdecl
|
||||
#endif
|
||||
main(int argc, char* argv[])
|
||||
{
|
||||
#ifdef _WIN32
|
||||
#ifndef _UNICODE
|
||||
g_IsNT = IsItWindowsNT();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
PrintStringLn(kCopyrightString);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user