From: Ralf Habacker Date: Thu, 21 Jun 2007 12:56:56 +0000 (+0000) Subject: * dbus/dbus-sysdeps-win.c (_dbus_sysdeps_test): don't check 0xff as floating point... X-Git-Tag: dbus-1.1.2~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=909c8ef4eedf437b43cc78d2e922a3ced3036d1b;p=thirdparty%2Fdbus.git * dbus/dbus-sysdeps-win.c (_dbus_sysdeps_test): don't check 0xff as floating point, this isn't supported on win32 math implementation --- diff --git a/ChangeLog b/ChangeLog index 0abee275c..de4b5b952 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 37f2c13a8..c5aecb95d 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);