summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-19 13:54:01 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-19 14:16:07 +0000
commit500e0f51ab136765dde8be37700062f69b7babcf (patch)
tree83ad54129bc8a59cf2bd12c19bf40a0a7bb04262
parenta8e4133d6ddbaa56174584064f52603680172a38 (diff)
downloadmidipix_build-500e0f51ab136765dde8be37700062f69b7babcf.tar.bz2
midipix_build-500e0f51ab136765dde8be37700062f69b7babcf.tar.xz
patches/smallbasic.local.patch:SmallBASIC/src/platform/console/main.c: fix __GLIBC__ check.
-rw-r--r--patches/smallbasic.local.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/smallbasic.local.patch b/patches/smallbasic.local.patch
index e92e5b02..f0779374 100644
--- a/patches/smallbasic.local.patch
+++ b/patches/smallbasic.local.patch
@@ -9,3 +9,14 @@
fi
}
+--- SmallBASIC/src/platform/console/main.c.orig 2017-12-19 08:54:21.692000000 +0000
++++ SmallBASIC/src/platform/console/main.c 2017-12-19 13:53:21.540000000 +0000
+@@ -253,7 +253,7 @@
+ return 1;
+ }
+
+-#if defined(__GNUC__)
++#if defined(__GLIBC__)
+ // for analysing excessive malloc calls using kdbg
+ extern void *__libc_malloc(size_t size);
+ void* malloc (size_t size) {