diff --git a/loader/ldt_keeper.c b/loader/ldt_keeper.c index 5b33d51ce3..186ad0bbdc 100644 --- a/loader/ldt_keeper.c +++ b/loader/ldt_keeper.c @@ -34,7 +34,7 @@ extern "C" { #endif /// declare modify_ldt with the _syscall3 macro for older glibcs -#if defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR == 0)) +#if defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 0)) _syscall3( int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount ); #else int modify_ldt(int func, void *ptr, unsigned long bytecount);