about summary refs log tree commit diff stats
path: root/src/wrapped32/wrappedlibxss.c
blob: dc5d9b01471d51881bce19ec5e5332f4d75e762e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define _GNU_SOURCE         /* See feature_test_macros(7) */
#include <dlfcn.h>

#include "wrappedlibs.h"

#include "wrapper32.h"
#include "bridge.h"
#include "librarian/library_private.h"
#include "x64emu.h"
#include "box32.h"

#ifdef ANDROID
    static const char* libxssName = "libXss.so";
#else
    static const char* libxssName = "libXss.so.1";
#endif

#define LIBNAME libxss

#ifdef ANDROID
#define NEEDED_LIBS "libX11.so", "libXext.so"
#else
#define NEEDED_LIBS "libX11.so.6", "libXext.so.6"
#endif

#include "wrappedlib_init32.h"