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 <string>
#include <functional>
#include <iostream>
#include "HECL/HECL.hpp"
#include <Athena/Types.hpp>

2
hecl/extern/Athena vendored

@ -1 +1 @@
Subproject commit e6dedd0e6cd72117cc3b06ec1b42aec0371d5790
Subproject commit 418f3e763fed8234ae1498c56dcd574bdd66b020

View File

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