summaryrefslogtreecommitdiff
path: root/mtxsymbol.cc
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-01-23 18:44:16 +0100
committerRichard Braun <rbraun@sceen.net>2017-01-23 18:44:16 +0100
commitd6d8afda9e32501063cee907b20507d4762a3bc0 (patch)
treeb7ce0e4ebb80318279f3e59d6ea8252d81743d55 /mtxsymbol.cc
parent0335271456550084988c5484bd1109a0a846669b (diff)
Minor updateHEADmaster
- Fix errors with modern compilers (gcc, clang) - Upgrade gtkmm dependency - Add a test.mtx file - Build with 64-bits words by default
Diffstat (limited to 'mtxsymbol.cc')
-rw-r--r--mtxsymbol.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/mtxsymbol.cc b/mtxsymbol.cc
index c0846b8..5e521fd 100644
--- a/mtxsymbol.cc
+++ b/mtxsymbol.cc
@@ -18,7 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <string>
+#include <cstdlib>
+#include <cstring>
#include <vector>
#include "mtx.h"
@@ -76,7 +77,7 @@ list(const MtxSymbol *symbol)
string
quit(const MtxSymbol *symbol)
{
- exit(0);
+ std::exit(0);
}
MtxSymbol::MtxSymbol()