Fix Compile Errors on Linux

This commit is contained in:
EAZYBLACK 2026-09-27 21:40:59 +03:00
commit 640bca63c5
3 changed files with 9 additions and 0 deletions

View file

@ -180,6 +180,9 @@ if CONFIG['GNU_CXX']:
if CONFIG['GNU_CC'] and CONFIG['CC_VERSION'] >= '10.0.0': if CONFIG['GNU_CC'] and CONFIG['CC_VERSION'] >= '10.0.0':
CFLAGS += ['-fcommon'] CFLAGS += ['-fcommon']
if CONFIG['OS_TARGET'] == 'Linux':
SOURCES['cabac.c'].flags += ['-fno-lto']
USE_LIBS += [ USE_LIBS += [
'mozavutil' 'mozavutil'
] ]

View file

@ -42,6 +42,11 @@ typedef __m128i z_vec128i_t;
#endif #endif
#endif #endif
#ifndef _MSC_VER
#define _declspec(x) __attribute__((x))
#define align(x) aligned(x)
#endif
/* /*
* chunk copy type: the z_vec128i_t type size should be exactly 128-bits * chunk copy type: the z_vec128i_t type size should be exactly 128-bits
* and equal to CHUNKCOPY_CHUNK_SIZE. * and equal to CHUNKCOPY_CHUNK_SIZE.

View file

@ -504,6 +504,7 @@ STUB(gtk_window_set_skip_taskbar_hint)
STUB(gtk_window_set_title) STUB(gtk_window_set_title)
STUB(gtk_window_set_transient_for) STUB(gtk_window_set_transient_for)
STUB(gtk_window_set_type_hint) STUB(gtk_window_set_type_hint)
STUB(gtk_window_set_keep_above)
STUB(gtk_window_set_wmclass) STUB(gtk_window_set_wmclass)
STUB(gtk_window_unfullscreen) STUB(gtk_window_unfullscreen)
STUB(gtk_window_unmaximize) STUB(gtk_window_unmaximize)