diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | dbus/dbus-sysdeps-util.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2007-06-21 Ralf Habacker <ralf.habacker@freenet.de> + * dbus/dbus-sysdeps-win.c (_dbus_sysdeps_test): don't check + 0xff as floating point, this isn't supported on win32 math + implementation + +2007-06-21 Ralf Habacker <ralf.habacker@freenet.de> + * dbus/dbus-sysdeps-win.c (_dbus_homedir_from_username, _dbus_homedir_from_current_process, _dbus_append_desired_identity): removed obsolate functions diff --git a/dbus/dbus-sysdeps-util.c b/dbus/dbus-sysdeps-util.c index 37f2c13a..c5aecb95 100644 --- a/dbus/dbus-sysdeps-util.c +++ b/dbus/dbus-sysdeps-util.c @@ -141,6 +141,7 @@ _dbus_sysdeps_test (void) exit (1); } +#ifndef DBUS_WIN _dbus_string_init_const (&str, "0xff"); if (!_dbus_string_parse_double (&str, 0, &val, &pos)) @@ -158,6 +159,7 @@ _dbus_sysdeps_test (void) _dbus_warn ("_dbus_string_parse_double of \"0xff\" returned wrong position %d", pos); exit (1); } +#endif #ifdef DBUS_WIN check_path_absolute ("c:/", TRUE); check_path_absolute ("c:/foo", TRUE); |