fix linux compatibility

This commit is contained in:
Roy Qu 2022-10-28 08:40:46 +00:00
parent 054a99b690
commit 662990e997
2 changed files with 7 additions and 1 deletions

View File

@ -3693,8 +3693,8 @@ void Settings::CodeCompletion::setShowCodeIns(bool newShowCodeIns)
bool Settings::CodeCompletion::clearWhenEditorHidden() bool Settings::CodeCompletion::clearWhenEditorHidden()
{ {
MEMORYSTATUSEX statex;
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
MEMORYSTATUSEX statex;
statex.dwLength = sizeof (statex); statex.dwLength = sizeof (statex);
GlobalMemoryStatusEx (&statex); GlobalMemoryStatusEx (&statex);

View File

@ -1,3 +1,9 @@
redpanda-cpp (2.1-1) unstable; urgency=medium
* Update to 2.1
-- Roy Qu (瞿华) <royqh1979@gmail.com> Fri, 28 Oct 2022 16:38:00 +0800
redpanda-cpp (1.5-1) unstable; urgency=medium redpanda-cpp (1.5-1) unstable; urgency=medium
* Update to 1.5 * Update to 1.5