mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1815967: Add defines for MinGW in TSFTextStore r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D169377
This commit is contained in:
parent
c05d527571
commit
553a141e10
@ -46,6 +46,7 @@ patch_file6="$(pwd)/taskcluster/scripts/misc/mingw-dispatchqueue.patch"
|
||||
patch_file7="$(pwd)/taskcluster/scripts/misc/mingw-numerics.patch"
|
||||
patch_file8="$(pwd)/taskcluster/scripts/misc/mingw-mft-type.patch"
|
||||
patch_file9="$(pwd)/taskcluster/scripts/misc/mingw-directmanip.patch"
|
||||
patch_file10="$(pwd)/taskcluster/scripts/misc/mingw-ts_sd.patch"
|
||||
|
||||
prepare() {
|
||||
pushd $MOZ_FETCHES_DIR/mingw-w64
|
||||
@ -58,6 +59,7 @@ prepare() {
|
||||
patch -p1 <$patch_file7
|
||||
patch -p1 <$patch_file8
|
||||
patch -p1 <$patch_file9
|
||||
patch -p1 <$patch_file10
|
||||
popd
|
||||
}
|
||||
|
||||
|
33
taskcluster/scripts/misc/mingw-ts_sd.patch
Normal file
33
taskcluster/scripts/misc/mingw-ts_sd.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From 8e23d493352ada53b3a766f14e2e93484353c15c Mon Sep 17 00:00:00 2001
|
||||
From: Tom Ritter <tom@ritter.vg>
|
||||
Date: Wed, 8 Feb 2023 10:52:16 -0500
|
||||
Subject: [PATCH 11/11] TS_SD_ defines
|
||||
|
||||
---
|
||||
mingw-w64-headers/include/textstor.h | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/mingw-w64-headers/include/textstor.h b/mingw-w64-headers/include/textstor.h
|
||||
index 0681cab92..64b5ebec5 100644
|
||||
--- a/mingw-w64-headers/include/textstor.h
|
||||
+++ b/mingw-w64-headers/include/textstor.h
|
||||
@@ -68,6 +68,16 @@ extern "C" {
|
||||
|
||||
#define TS_SD_LOADING (0x2)
|
||||
|
||||
+#define TS_SD_RESERVED (0x4)
|
||||
+
|
||||
+#define TS_SD_TKBAUTOCORRECTENABLE (0x8)
|
||||
+
|
||||
+#define TS_SD_TKBPREDICTIONENABLE (0x10)
|
||||
+
|
||||
+#define TS_SD_UIINTEGRATIONENABLE (0x20)
|
||||
+
|
||||
+#define TS_SD_INPUTPANEMANUALDISPLAYENABLE (0x40)
|
||||
+
|
||||
#define TS_SS_DISJOINTSEL (0x1)
|
||||
|
||||
#define TS_SS_REGIONS (0x2)
|
||||
--
|
||||
2.25.1
|
||||
|
@ -29,11 +29,6 @@
|
||||
#include "nsWindow.h"
|
||||
#include "nsPrintfCString.h"
|
||||
|
||||
// Workaround for mingw32
|
||||
#ifndef TS_SD_INPUTPANEMANUALDISPLAYENABLE
|
||||
# define TS_SD_INPUTPANEMANUALDISPLAYENABLE 0x40
|
||||
#endif
|
||||
|
||||
// For collecting other people's log, tell `MOZ_LOG=IMEHandler:4,sync`
|
||||
// rather than `MOZ_LOG=IMEHandler:5,sync` since using `5` may create too
|
||||
// big file.
|
||||
|
Loading…
Reference in New Issue
Block a user