Skip to content

Commit

Permalink
Merge pull request #8 from csnxs/patch-1
Browse files Browse the repository at this point in the history
Define _DEFAULT_SOURCE, fixing compilation on glibc >= 2.19
  • Loading branch information
Positron authored Dec 6, 2016
2 parents 0149f67 + 687584a commit d3e078b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ solution 'bcc'
'-Wstrict-aliasing=2',
'-Wmissing-field-initializers',
'-D_BSD_SOURCE',
'-D_DEFAULT_SOURCE',
}
flags {
'Symbols',
Expand All @@ -35,4 +36,4 @@ solution 'bcc'
includedirs {
'src',
'src/parse',
}
}

0 comments on commit d3e078b

Please sign in to comment.