Browse Source

add KmAppInfo::GetIs64Bit() to match new XULRunner API from goann3 rev a7bc0406ee460ad17edc80d7d16a8293922e89b9

master
Roy Tam 2 years ago
parent
commit
b124b4f602
  1. 11
      k-meleon/app/KmAppInfo.cpp

11
k-meleon/app/KmAppInfo.cpp

@ -195,6 +195,17 @@ NS_IMETHODIMP KmAppInfo::GetProcessType(uint32_t *aProcessType)
return NS_OK;
}
/* readonly attribute boolean is64Bit; */
NS_IMETHODIMP KmAppInfo::GetIs64Bit(bool* aResult)
{
#ifdef _WIN64
*aResult = true;
#else
*aResult = false;
#endif
return NS_OK;
}
#include "nsINIParser.h"
#define NS_LINEBREAK "\015\012"
#define FILE_COMPATIBILITY_INFO NS_LITERAL_CSTRING("compatibility.ini")

Loading…
Cancel
Save