gfwilliams / tiny-js

Automatically exported from code.google.com/p/tiny-js
MIT License
532 stars 88 forks source link

Compilation under GCC 6 fails #20

Open Archivist062 opened 7 years ago

Archivist062 commented 7 years ago

Seems like stdlibc++ headers don't include cmath which is required. A quick fix is to include cmath in TinyJS.h

Tested only on the 42 branch