Enlightenment CVS committal
Author : doursse
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/bin
Modified Files:
edje_cc_parse.c
Log Message:
_O_BINARY exists only on windows
===================================================================
RCS file: /cvs/e/e17/libs/edje/src/bin/edje_cc_parse.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -3 -r1.47 -r1.48
--- edje_cc_parse.c 27 Aug 2007 09:32:17 -0000 1.47
+++ edje_cc_parse.c 27 Aug 2007 11:28:30 -0000 1.48
@@ -706,7 +706,11 @@
free(def);
*/
}
- fd = open(file_in, O_RDONLY | _O_BINARY);
+#ifdef _WIN32
+ fd = open(file_in, _O_RDONLY | _O_BINARY);
+#else
+ fd = open(file_in, O_RDONLY);
+#endif /* _WIN32 */
if (fd < 0)
{
fprintf(stderr, "%s: Error. cannot open file \"%s\" for input. %s\n",
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs