[glibmm] ifdef-out inclusion of files not available on Windows in giomm.h



commit 864f1a4aaad4f3777a70dceb245d0d8b16ce560c
Author: Armin Burgmeier <armin arbur net>
Date:   Thu Dec 17 00:35:36 2009 +0100

    ifdef-out inclusion of files not available on Windows in giomm.h
    
    2009-12-16  Armin Burgmeier  <armin arbur net>
    
    	* gio/giomm.h: Don't include files on Windows that are not available
    	on that platform.

 ChangeLog   |    5 +++++
 gio/giomm.h |   10 +++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9e26a04..f981961 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-16  Armin Burgmeier  <armin arbur net>
+
+	* gio/giomm.h: Don't include files on Windows that are not available
+	on that platform.
+
 2009-12-03  José Alburquerque  <jaalburqu svn gnome org>
 
 	Make build successful when exceptions, vfuncs, etc. are disabled.
diff --git a/gio/giomm.h b/gio/giomm.h
index 287d6d5..75a8f56 100644
--- a/gio/giomm.h
+++ b/gio/giomm.h
@@ -28,7 +28,9 @@
 #include <giomm/contenttype.h>
 #include <giomm/datainputstream.h>
 #include <giomm/dataoutputstream.h>
-#include <giomm/desktopappinfo.h>
+#ifndef G_OS_WIN32
+# include <giomm/desktopappinfo.h>
+#endif
 #include <giomm/drive.h>
 #include <giomm/emblemedicon.h>
 #include <giomm/emblem.h>
@@ -70,8 +72,10 @@
 #include <giomm/socketconnectable.h>
 #include <giomm/srvtarget.h>
 #include <giomm/themedicon.h>
-#include <giomm/unixinputstream.h>
-#include <giomm/unixoutputstream.h>
+#ifndef G_OS_WIN32
+# include <giomm/unixinputstream.h>
+# include <giomm/unixoutputstream.h>
+#endif
 #include <giomm/volume.h>
 #include <giomm/volumemonitor.h>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]