platofrm: set fsnotifier glibc compatibility only for i386/amd64
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>
Wed, 25 Feb 2015 14:30:32 +0000 (15:30 +0100)
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>
Wed, 25 Feb 2015 14:30:32 +0000 (15:30 +0100)
Based on https://github.com/JetBrains/intellij-community/pull/244

native/fsNotifier/linux/inotify.c

index 5198ed3ad53469e4b91d0b37f6dbd3b81026916e..dee299cdab7a85b96358690b0b2293b5c767b810 100644 (file)
 #include <syslog.h>
 #include <unistd.h>
 
-#ifdef __amd64__
-__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
-#else
+#if defined __i386__
 __asm__(".symver memcpy,memcpy@GLIBC_2.0");
+#elif defined __amd64__
+__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
 #endif