12 lines
540 B
Diff
12 lines
540 B
Diff
--- a/xbmc/cores/DllLoader/ldt_keeper.c 2019-01-30 20:08:15.532823846 +0100
|
|
+++ b/xbmc/cores/DllLoader/ldt_keeper.c 2019-01-30 20:08:34.139580225 +0100
|
|
@@ -53,7 +53,7 @@
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
-#if defined(TARGET_ANDROID) && (defined(__i386__) || defined(__x86_64__)) && !defined(modify_ldt)
|
|
+#if defined(__linux__) && (defined(__i386__) || defined(__x86_64__)) && !defined(modify_ldt)
|
|
#define modify_ldt(a,b,c) syscall( __NR_modify_ldt, a, b, c);
|
|
#else
|
|
int modify_ldt(int func, void *ptr, unsigned long bytecount);
|