From ececba644689bb9231fd695aa638ee1362865736 Mon Sep 17 00:00:00 2001
From: Andrew Lindesay <apl@lindesay.co.nz>
Date: Fri, 9 Sep 2016 23:56:10 +1200
Subject: [PATCH 1/1] Build; implement function so that debug build of gnuregex
can occur on mac hosted build
---
src/build/libgnuregex/Jamfile | 3 ++-
src/build/libgnuregex/debugprintchar.c | 12 ++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 src/build/libgnuregex/debugprintchar.c
diff --git a/src/build/libgnuregex/Jamfile b/src/build/libgnuregex/Jamfile
index cfcc8ef..62e006a 100644
a
|
b
|
|
1 | 1 | SubDir HAIKU_TOP src build libgnuregex ; |
2 | 2 | |
3 | 3 | BuildPlatformSharedLibrary libgnuregex_build.so : |
4 | | regex.c |
| 4 | regex.c |
| 5 | debugprintchar.c |
5 | 6 | : |
6 | 7 | # no linked libraries here |
7 | 8 | ; |
diff --git a/src/build/libgnuregex/debugprintchar.c b/src/build/libgnuregex/debugprintchar.c
new file mode 100644
index 0000000..1c9c874
-
|
+
|
|
| 1 | /* |
| 2 | * Copyright 2013-2014, Andrew Lindesay <apl@lindesay.co.nz>. |
| 3 | * All rights reserved. Distributed under the terms of the MIT License. |
| 4 | */ |
| 5 | |
| 6 | #ifdef DEBUG |
| 7 | |
| 8 | void printchar(int ch) { |
| 9 | printf("%x",ch); |
| 10 | } |
| 11 | |
| 12 | #endif // DEBUG |