[clutter/windows-fixes: 3/4] clutter/meson.build: Fill in win32 config




commit beed3a05f77654cde82ab1d9cfef335c702525d8
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Oct 20 14:55:18 2021 +0800

    clutter/meson.build: Fill in win32 config
    
    We forgot to put into clutter-config.h the Windows items, which means
    that we would actually build the Win32 parts in vain.

 clutter/meson.build | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/clutter/meson.build b/clutter/meson.build
index 68cd5f1a6..0c34638a9 100644
--- a/clutter/meson.build
+++ b/clutter/meson.build
@@ -365,6 +365,12 @@ if enabled_backends.contains('mir')
     '#define CLUTTER_INPUT_MIR "mir"',
   ]
 endif
+if enabled_backends.contains('win32')
+  clutter_config += [
+    '#define CLUTTER_WINDOWING_WIN32 "win32"',
+    '#define CLUTTER_INPUT_WIN32 "win32"',
+  ]
+endif
 clutter_config += '#define CLUTTER_INPUT_NULL "null"'
 
 clutter_config_h = configuration_data()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]