patches to get v14 to compile.

svn path=/trunk/; revision=503
This commit is contained in:
Rex Jolliff 1999-05-21 18:47:44 +00:00
parent ed003aa199
commit ae32243b6a
4 changed files with 11 additions and 11 deletions

View file

@ -17,9 +17,9 @@
; DISCLAMED. This includes but is not limited to warrenties of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
;
; $Revision: 1.10 $
; $Author: ariadne $
; $Date: 1999/05/18 18:16:11 $
; $Revision: 1.11 $
; $Author: rex $
; $Date: 1999/05/21 18:47:43 $
;
; These three functions appear to be name mangled in some way, so GCC is
; probably not going to be able to use them in any case.
@ -66,7 +66,7 @@ __fpecode
__isascii
__iscsym
__iscsymf
__mb_cur_max_dll
;__mb_cur_max_dll
__pxcptinfoptrs
__threadhandle
__threadid
@ -454,7 +454,7 @@ isxdigit
labs
ldexp
ldiv
localeconv
;localeconv
localtime
log
log10
@ -485,7 +485,7 @@ rename
rewind
scanf
setbuf
setlocale
;setlocale
setvbuf
signal
sin

View file

@ -27,7 +27,7 @@ DIRECT_OBJECTS = direct/chdir.o direct/chdrive.o direct/getcwd.o direct/getdrive
EXCEPT_OBJECTS = except/unwind.o except/abnorter.o except/exhand2.o except/matherr.o
LOCALE_OBJECTS = locale/locale.o
LOCALE_OBJECTS = # locale/locale.o
MALLOC_OBJECTS = malloc/expand.o malloc/heap.o

View file

@ -3,7 +3,7 @@
#include <crtdll/stdio.h>
#include <crtdll/string.h>
#include <crtdll/float.h>
#include <crtdll/locale.h>
// #include <crtdll/locale.h>
void __ecvround (char *, char *, const char *, int *);
@ -39,7 +39,7 @@ char *
ecvtbuf (double value, int ndigits, int *decpt, int *sign, char *buf)
{
static char INFINITY[] = "Infinity";
char decimal = localeconv()->decimal_point[0];
char decimal = '.' /* localeconv()->decimal_point[0] */;
char *cvtbuf = (char *)alloca (ndigits + 20); /* +3 for sign, dot, null; */
/* two extra for rounding */
/* 15 extra for alignment */

View file

@ -3,7 +3,7 @@
#include <crtdll/stdio.h>
#include <crtdll/string.h>
#include <crtdll/float.h>
#include <crtdll/locale.h>
// #include <crtdll/locale.h>
void __ecvround (char *, char *, const char *, int *);
@ -11,7 +11,7 @@ char *
fcvtbuf (double value, int ndigits, int *decpt, int *sign, char *buf)
{
static char INFINITY[] = "Infinity";
char decimal = localeconv()->decimal_point[0];
char decimal = '.' /* localeconv()->decimal_point[0] */;
int digits = ndigits >= 0 ? ndigits : 0;
char *cvtbuf = (char *)alloca (2*DBL_MAX_10_EXP + 16);
char *s = cvtbuf;