preprocess the edc file on OpenBSD as on MacOS X.
authorkiwi <kiwi>
Fri, 21 May 2010 19:58:40 +0000 (19:58 +0000)
committerkiwi <kiwi@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 21 May 2010 19:58:40 +0000 (19:58 +0000)
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

index 94909d1..24196cf 100644 (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];