BleuLlama / TinyBasicPlus

A C implementation of Tiny Basic, with a focus on support for Arduino
401 stars 117 forks source link

Fix compilation in Linux #31

Closed thomedes closed 6 years ago

thomedes commented 6 years ago

I've made two minor changes to allow working on Linux.

Please review them and merge if you so consider.

I have no way to check it still works on OS X. To be strict the #ifdef __APPLE__ should have been translated to #if defined(__APPLE__) || __linux__ but most sources I've checked suggest that __APPLE__ is defined to be true, so #if __APPLE__ || __linux__ should work equally well.

Thanks,