From 3ffdcf4b88d5d0e9eca18ea91e8480595c77856d Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Sun, 8 Mar 2015 22:18:21 +0100 Subject: [PATCH] Using C for standard library, since it can't depend on lib(std)c++. --- CMakeLists.txt | 2 +- Runtime.cpp => Runtime.c | 8 ++++---- Runtime.hpp => Runtime.h | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename Runtime.cpp => Runtime.c (96%) rename Runtime.hpp => Runtime.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 159ffee..4e033eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,5 +114,5 @@ target_link_libraries(mcc ## 6. Build the runtime library too -add_library(mcrt STATIC Runtime.cpp) +add_library(mcrt STATIC Runtime.c) diff --git a/Runtime.cpp b/Runtime.c similarity index 96% rename from Runtime.cpp rename to Runtime.c index 9885a8e..cfa6c2e 100644 --- a/Runtime.cpp +++ b/Runtime.c @@ -17,11 +17,11 @@ * along with this program. If not, see . */ -#include "Runtime.hpp" +#include "Runtime.h" -#include -#include -#include +#include +#include +#include void Monicelli_putBool(Monicelli_Bool value) { diff --git a/Runtime.hpp b/Runtime.h similarity index 100% rename from Runtime.hpp rename to Runtime.h