Fix Windows version not allowing us to change GLIBC version for functions
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2019-08-25 18:22:32 +02:00
parent b3eee4e89a
commit b2ee008ba2
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
2 changed files with 4 additions and 0 deletions

View File

@ -153,7 +153,9 @@ namespace Porygon::Parser {
}
}
#ifndef WINDOWS
__asm__(".symver pow,pow@GLIBC_2.2.5");
#endif
Token *Lexer::LexNumber(char16_t c) {
int64_t int_value = CharToInt(c);
double float_value = 0;

View File

@ -15,8 +15,10 @@
#include "../UserData/UserDataFunction.hpp"
#include "../Utilities/Random.hpp"
#ifndef WINDOWS
__asm__(".symver log,log@GLIBC_2.2.5");
__asm__(".symver exp,exp@GLIBC_2.2.5");
#endif
namespace Porygon::StandardLibraries {
using namespace Porygon::Evaluation;