mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 09:57:40 +00:00
Add utility function to detect if SDL is inside a sandbox
Refactor the previous sandbox check in a standalone function that also includes Snap support. Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
This commit is contained in:
parent
a3ce700ded
commit
e8cb4da71f
8 changed files with 100 additions and 16 deletions
|
@ -3955,6 +3955,7 @@ case "$host" in
|
|||
# Set up other core UNIX files
|
||||
SOURCES="$SOURCES $srcdir/src/core/linux/SDL_evdev_capabilities.c"
|
||||
SOURCES="$SOURCES $srcdir/src/core/linux/SDL_threadprio.c"
|
||||
SOURCES="$SOURCES $srcdir/src/core/linux/SDL_sandbox.c"
|
||||
SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
|
||||
;;
|
||||
*-*-cygwin* | *-*-mingw*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue