Commit 578fef68 authored by Michael Schumacher's avatar Michael Schumacher Committed by Michael Schumacher
Browse files

added #ifdef G_OS_WIN32 because O_BINARY isn't available on other

2005-06-04  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/dialog.c: added #ifdef G_OS_WIN32 because
	O_BINARY isn't available on other platforms
parent be3a1dcc
2005-06-04 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/helpbrowser/dialog.c: added #ifdef G_OS_WIN32 because
O_BINARY isn't available on other platforms
2005-06-04 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdnd.c (gimp_dnd_get_viewable_icon): reduced the
......
......@@ -866,7 +866,12 @@ request_url (HtmlDocument *doc,
if (filename)
{
#ifdef G_OS_WIN32
gint fd = g_open (filename, O_RDONLY|O_BINARY, 0);
#else
gint fd = g_open (filename, O_RDONLY, 0);
#endif
if (fd != -1)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment