Commit ce241ca1 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix GCC error message: undefined reference to `__sync_fetch_and_sub_4`

The exact error message is: src/.libs/libvlccore.so: undefined reference to `__sync_fetch_and_sub_4'. According to irc discussion gcc version 4.1.2 (fc8), 4.1.3, 4.2, 4,3.2 and 4.3.2 (archlinux) fail with this error message. This patch fixes it by bumping up the minor number for gcc to 4.
parent a47c9f2f
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
#endif #endif
#if defined(__GNUC__) #if defined(__GNUC__)
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 0) #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4)
#define USE_SYNC #define USE_SYNC
#endif #endif
#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