gcvt detection for building against uClibc
Brad Campbell
brad at seme.com.au
Tue Dec 3 02:14:38 CST 2002
Changelog
Brad Campbell (brad at seme.com.au)
- Added additional test for gcvt as uClibc appears to have this
and not ecvt.
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.102
diff -u -r1.102 configure.ac
--- configure.ac 2 Dec 2002 21:17:05 -0000 1.102
+++ configure.ac 3 Dec 2002 08:10:41 -0000
@@ -926,6 +926,7 @@
chsize \
clone \
ecvt \
+ gcvt \
finite \
fpclass \
ftruncate \
Index: library/port.c
===================================================================
RCS file: /home/wine/wine/library/port.c,v
retrieving revision 1.38
diff -u -r1.38 port.c
--- library/port.c 25 Nov 2002 21:12:26 -0000 1.38
+++ library/port.c 3 Dec 2002 08:11:13 -0000
@@ -652,6 +652,8 @@
*decpt = (dec) ? (int)dec - (int)buf : -1;
return buf;
}
+#endif /* HAVE_ECVT */
+#ifndef HAVE_GCVT
/***********************************************************************
* gcvt
@@ -663,7 +665,7 @@
sprintf(buff, "%.*E", (int)ndigit, number);
return buff;
}
-#endif /* HAVE_ECVT */
+#endif /* HAVE_GCVT */
#ifndef wine_memcpy_unaligned
--
Brad....
/"\
Save the Forests \ / ASCII RIBBON CAMPAIGN
Burn a Greenie. X AGAINST HTML MAIL
/ \
More information about the wine-patches
mailing list