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:
parent
0bc9b1cf55
commit
b55d9b91c3
|
@ -740,7 +740,7 @@ compile(void)
|
||||||
snprintf(buf, sizeof(buf), "cat %s | cpp -I%s %s > %s",
|
snprintf(buf, sizeof(buf), "cat %s | cpp -I%s %s > %s",
|
||||||
file_in, inc, def, tmpn);
|
file_in, inc, def, tmpn);
|
||||||
ret = system(buf);
|
ret = system(buf);
|
||||||
#if defined (__MacOSX__) || ( defined (__MACH__) && defined (__APPLE__))
|
#if defined (__MacOSX__) || ( defined (__MACH__) && defined (__APPLE__) ) || defined (__OpenBSD__)
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
{
|
{
|
||||||
static char tmpn2[4096];
|
static char tmpn2[4096];
|
||||||
|
|
Loading…
Reference in New Issue