common code patch for Solaris

Artem Kachitchkine Artem.Kachitchkin at Sun.COM
Mon Jul 31 18:12:54 PDT 2006


Please review the patch to get the latest HAL tree work on Solaris. Summary of 
change:

	* configure.in: don't PKG_CHECK volume_id on Solaris
	and check for asprintf()
	* hald/property.c: C99 compilers do not support anonymous unions
	* hald/util.h: redefine gcc macros if not using gcc
	* libhal/libhal.c: C99 compilers do not support anonymous unions
	* tools/hal-device: C99 compilers do not support anonymous unions,
	handle no-asprintf() case, use "a ? a : b" instead of "a ?: b"
	* tools/hal-storage-mount.c
	  tools/hal-storage-shared.c
	  tools/hal-system-power-pmu.c: added Solaris ifdefs

thanks,
-Artem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-solaris-0731.patch
Type: text/x-patch
Size: 26149 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060731/50077f70/hal-solaris-0731.bin


More information about the hal mailing list