mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:44:56 +00:00
OS X fixes
This commit is contained in:
@@ -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
2
hecl/extern/Athena
vendored
Submodule hecl/extern/Athena updated: e6dedd0e6c...418f3e763f
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user