mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Bug 619142 – Build fixes
- Fix various #include issues - Change #error to #warning for the EXTERNAL authentication mechanism. It is not clear if this should work on Win32 at all. - Call close() before unlink() for the SHA1 keyring - Change #error to #warning so we don't forget to do permission checking of the .dbus-keyrings directory - Use Win32 SID for the SHA1 auth mech - Apparently we can't use word 'interface' as an identifier - Implement a _g_dbus_win32_get_user_sid() function. For now it's private. Don't know if it should be public somewhere. Maybe in a future GCredentials support for Win32? I don't know. - GFileDescriptorBased is not available on Win32. So avoid using it in GLocalFile stuff. Now, Win32 still uses GLocalFile + friends (which works with file descriptors) so expose a private function to get the fd for an OutputStream so things still work. - Fixup gio.symbols - Fixup tests/gdbus-peer.c so it builds With this, at least things compile and the gdbus-peer.exe test case passes. Which is a great start. I've tested this by cross-compiling on a x86_64 Fedora 13 host using mingw32 and running the code on a 32-bit Windows 7 box. https://bugzilla.gnome.org/show_bug.cgi?id=619142 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#endif
|
||||
|
||||
#include "giotypes.h"
|
||||
#include "gioerror.h"
|
||||
#include "gdbusaddress.h"
|
||||
#include "gdbusutils.h"
|
||||
#include "gdbusconnection.h"
|
||||
@@ -40,6 +41,12 @@
|
||||
#include "gio-marshal.h"
|
||||
#include "ginitable.h"
|
||||
#include "gsocketservice.h"
|
||||
#include "gthreadedsocketservice.h"
|
||||
#include "gresolver.h"
|
||||
#include "ginetaddress.h"
|
||||
#include "ginetsocketaddress.h"
|
||||
#include "ginputstream.h"
|
||||
#include "giostream.h"
|
||||
|
||||
#ifdef G_OS_UNIX
|
||||
#include "gunixsocketaddress.h"
|
||||
|
Reference in New Issue
Block a user