Commit c3b0fb2b by Ben Noordhuis

Fix non-Linux build failure.

gcc-preinclude.h contains a fix for old Linux systems but it's included
unconditionally on other platforms as well.

I could update the GYP files to exclude it on other platforms but it
seems easier to add a `defined(__linux__)` guard to the header file.

Let this be the last fix.
parent 6439f4f9
// https://rjpower9000.wordpress.com/2012/04/09/fun-with-shared-libraries-version-glibc_2-14-not-found/ // https://rjpower9000.wordpress.com/2012/04/09/fun-with-shared-libraries-version-glibc_2-14-not-found/
#if defined(__x86_64__) #if defined(__linux__) && defined(__x86_64__)
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5"); __asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment