From 909c8ef4eedf437b43cc78d2e922a3ced3036d1b Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Thu, 21 Jun 2007 12:56:56 +0000 Subject: * dbus/dbus-sysdeps-win.c (_dbus_sysdeps_test): don't check 0xff as floating point, this isn't supported on win32 math implementation --- ChangeLog | 6 ++++++ dbus/dbus-sysdeps-util.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0abee275..de4b5b95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-06-21 Ralf Habacker + + * 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 * dbus/dbus-sysdeps-win.c (_dbus_homedir_from_username, 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); -- cgit