mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 07:57:12 +01:00
fix compiling on gcc 4.6 (too early to use 4.7.1...)
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
// clang is supported
|
||||
#undef _GLIBCXX_USE_FLOAT128
|
||||
#elif defined(__GNUC__)
|
||||
#if !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))
|
||||
#error "Sorry, you need gcc 4.7 or greater to compile."
|
||||
#if !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
|
||||
#error "Sorry, you need gcc 4.6 or greater to compile."
|
||||
#endif
|
||||
#else
|
||||
#error "Compiler not supported."
|
||||
|
||||
Reference in New Issue
Block a user