diff --git a/src/Parser/Lexer.cpp b/src/Parser/Lexer.cpp index faa1f9e..5f02b3a 100644 --- a/src/Parser/Lexer.cpp +++ b/src/Parser/Lexer.cpp @@ -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; diff --git a/src/StandardLibraries/MathLibrary.hpp b/src/StandardLibraries/MathLibrary.hpp index b09e0cc..7d64749 100644 --- a/src/StandardLibraries/MathLibrary.hpp +++ b/src/StandardLibraries/MathLibrary.hpp @@ -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;