Update of /cvsroot/firebird/interbase/jrd
In directory usw-pr-cvs1:/tmp/cvs-serv4412/jrd
Modified Files:
ib_stdio.c
Log Message:
Fixes for gcc compiling and add Solaris x86 support.
Index: ib_stdio.c
===================================================================
RCS file: /cvsroot/firebird/interbase/jrd/ib_stdio.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ib_stdio.c 2000/08/15 18:38:24 1.2
--- ib_stdio.c 2001/03/25 22:24:20 1.3
***************
*** 82,85 ****
--- 82,90 ----
*/
+ /* Firebird changes:-
+ * Small fixes to get gcc to compile module on Solaris sparc - Neil McCalden
+ * Add support for Solaris x86 - Neil McCalden
+ */
+
/*
$Id$
***************
*** 182,186 ****
int niobs;
IB_FILE *iobs;
! } ib__sglue;
/* The following 2 defines are taken from stdio/floatio.h in BSD */
--- 187,191 ----
int niobs;
IB_FILE *iobs;
! } ;
/* The following 2 defines are taken from stdio/floatio.h in BSD */
***************
*** 207,211 ****
static void ib__smakebuf (IB_FILE *);
static char *ib__dtoa (double, int, int, int *, int *, char **);
!
/*
--- 212,216 ----
static void ib__smakebuf (IB_FILE *);
static char *ib__dtoa (double, int, int, int *, int *, char **);
! int ib__sflush(register IB_FILE *fp);
/*
***************
*** 605,608 ****
--- 610,614 ----
std(IB__SWR|IB__SNBF, IB_STDERR_FILENO) /* stderr */
};
+
struct glue ib__sglue = { &uglue, 3, ib__sF };
***************
*** 4209,4213 ****
--- 4215,4224 ----
#ifdef SOLARIS
+ #ifdef sparc
#define IEEE_BIG_ENDIAN
+ #else
+ #define IEEE_LITTLE_ENDIAN
+ #undef VAX
+ #endif
#define IEEE_ARITHMETIC
#endif
|