Using C for standard library, since it can't depend on lib(std)c++.

This commit is contained in:
Stefano Sanfilippo 2015-03-08 22:18:21 +01:00
parent 95d189e244
commit 3ffdcf4b88
3 changed files with 5 additions and 5 deletions

View File

@ -114,5 +114,5 @@ target_link_libraries(mcc
## 6. Build the runtime library too ## 6. Build the runtime library too
add_library(mcrt STATIC Runtime.cpp) add_library(mcrt STATIC Runtime.c)

View File

@ -17,11 +17,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "Runtime.hpp" #include "Runtime.h"
#include <cstdio> #include <stdio.h>
#include <cstdlib> #include <stdlib.h>
#include <cassert> #include <assert.h>
void Monicelli_putBool(Monicelli_Bool value) { void Monicelli_putBool(Monicelli_Bool value) {