2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:44:56 +00:00

OS X fixes

This commit is contained in:
Jack Andersen
2015-10-11 19:19:04 -10:00
parent 66d07ff82d
commit 9a47c3dd6d
3 changed files with 3 additions and 2 deletions

View File

@@ -17,6 +17,7 @@
#include <stdio.h> #include <stdio.h>
#include <string> #include <string>
#include <functional> #include <functional>
#include <iostream>
#include "HECL/HECL.hpp" #include "HECL/HECL.hpp"
#include <Athena/Types.hpp> #include <Athena/Types.hpp>

2
hecl/extern/Athena vendored

Submodule hecl/extern/Athena updated: e6dedd0e6c...418f3e763f

View File

@@ -58,7 +58,7 @@ Parser::Token Parser::consumeToken()
/* Check for numeric literal */ /* Check for numeric literal */
{ {
char* strEnd; char* strEnd;
float val = std::strtof(&*m_sourceIt, &strEnd); float val = strtof(&*m_sourceIt, &strEnd);
if (&*m_sourceIt != strEnd) if (&*m_sourceIt != strEnd)
{ {
Parser::Token tok(TokenNumLiteral, getLocation()); Parser::Token tok(TokenNumLiteral, getLocation());