compile on linux
This commit is contained in:
5
ml.cpp
5
ml.cpp
@@ -51,8 +51,11 @@
|
||||
|
||||
|
||||
// Convert an object to a string using a string stream conveniently
|
||||
#if __APPLE_
|
||||
#define to_string(x) static_cast<std::ostringstream>((std::ostringstream() << std::dec << x )).str()
|
||||
|
||||
#elif __linux
|
||||
#define to_string(x) static_cast<std::ostringstream&>((std::ostringstream() << std::dec << x )).str()
|
||||
#endif
|
||||
|
||||
// Is this character a valid lisp symbol character
|
||||
bool is_symbol(char ch) {
|
||||
|
||||
Reference in New Issue
Block a user