about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibxpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedlibxpm.c')
-rw-r--r--src/wrapped/wrappedlibxpm.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/wrapped/wrappedlibxpm.c b/src/wrapped/wrappedlibxpm.c
index c4abc7f0..418ee87b 100644
--- a/src/wrapped/wrappedlibxpm.c
+++ b/src/wrapped/wrappedlibxpm.c
@@ -20,11 +20,9 @@
 #define LIBNAME libxpm
 
 #ifdef ANDROID
-    #define CUSTOM_INIT \
-        setNeededLibs(lib, 2, "libX11.so", "libXext.so");
+    #define NEEDED_LIBS "libX11.so", "libXext.so"
 #else
-    #define CUSTOM_INIT \
-        setNeededLibs(lib, 2, "libX11.so.6", "libXext.so.6");
+    #define NEEDED_LIBS "libX11.so.6", "libXext.so.6"
 #endif
 
-#include "wrappedlib_init.h"
\ No newline at end of file
+#include "wrappedlib_init.h"