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


SVN revision: 49113
This commit is contained in:
kiwi 2010-05-21 19:58:40 +00:00 committed by kiwi
parent 0bc9b1cf55
commit b55d9b91c3
1 changed files with 1 additions and 1 deletions

View File

@ -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];