mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 19:37:32 +09:00
Fix Compile Errors on Linux
This commit is contained in:
parent
17fcf8a99c
commit
a8d81b531d
3 changed files with 9 additions and 0 deletions
|
|
@ -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'
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue