Jim Li - 2008-11-25

patch for solaris and sun compiler 12