diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2007-06-21 12:56:56 +0000 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2007-06-21 12:56:56 +0000 |
commit | 909c8ef4eedf437b43cc78d2e922a3ced3036d1b (patch) | |
tree | 4c404bdcd3065ec082316beaa70c550869c110a1 | |
parent | 00d50bc9849b643ea05bf7961f8e33ca0c84c43b (diff) |
* dbus/dbus-sysdeps-win.c (_dbus_sysdeps_test): don't check 0xff as floating point, this isn't supported on win32 math implementation
-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); |