From 52af5c8d22ad8a0d2679d7eb9646148ddfc4b301 Mon Sep 17 00:00:00 2001 From: kiwi Date: Fri, 21 May 2010 19:58:40 +0000 Subject: [PATCH] preprocess the edc file on OpenBSD as on MacOS X. NetBSD and FreeBSD might have the same issue fixes handling of #define and comments in edc files, so e theme builds now on OpenBSD git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@49113 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/edje_cc_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/edje_cc_parse.c b/src/bin/edje_cc_parse.c index 94909d1..24196cf 100644 --- a/src/bin/edje_cc_parse.c +++ b/src/bin/edje_cc_parse.c @@ -740,7 +740,7 @@ compile(void) snprintf(buf, sizeof(buf), "cat %s | cpp -I%s %s > %s", file_in, inc, def, tmpn); ret = system(buf); -#if defined (__MacOSX__) || ( defined (__MACH__) && defined (__APPLE__)) +#if defined (__MacOSX__) || ( defined (__MACH__) && defined (__APPLE__) ) || defined (__OpenBSD__) if (ret == 0) { static char tmpn2[4096]; -- 2.7.4