aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2007-02-11 18:56:05 +0000
committerNils Durner <durner@gnunet.org>2007-02-11 18:56:05 +0000
commitfcd14de7ea0410afa4792a8decb1d6f541f5552d (patch)
treef97447a462df8d3ddf14ad303f34d05d924ddf16
parentaddf62f7470844906e20cca3a7cea860a489e623 (diff)
downloadgnunet-gtk-fcd14de7ea0410afa4792a8decb1d6f541f5552d.tar.gz
gnunet-gtk-fcd14de7ea0410afa4792a8decb1d6f541f5552d.zip
fix MinGW
-rw-r--r--src/plugins/fs/directory.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/fs/directory.c b/src/plugins/fs/directory.c
index 1bf2db5d..810fb52e 100644
--- a/src/plugins/fs/directory.c
+++ b/src/plugins/fs/directory.c
@@ -114,7 +114,10 @@ void on_open_menu_activate_fs(GtkWidget * dummy1,
114 } 114 }
115 fd = disk_file_open(NULL, 115 fd = disk_file_open(NULL,
116 dn, 116 dn,
117 O_LARGEFILE | O_RDONLY); 117#ifdef O_LARGEFILE
118 O_LARGEFILE |
119#endif
120 O_RDONLY);
118 if (fd == -1) { 121 if (fd == -1) {
119 addLogEntry(_("Error opening file `%s'."), 122 addLogEntry(_("Error opening file `%s'."),
120 dn); 123 dn);