From: kiwi Date: Fri, 21 May 2010 19:58:40 +0000 (+0000) Subject: preprocess the edc file on OpenBSD as on MacOS X. X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~1289 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff73ce092c4dd919ba301adadca01a02db5e9b9b;p=profile%2Fivi%2Fedje.git 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 --- 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];