Sun portability tweak.
This commit is contained in:
parent
59b20e610c
commit
de6e4747b1
1 changed files with 6 additions and 3 deletions
|
@ -66,10 +66,10 @@
|
|||
|
||||
#define FG_SQUARE( X ) ( (X) * (X) )
|
||||
|
||||
#ifdef WIN32
|
||||
# define FG_MEM_COPY(to,from,n) memcpy(to, from, n)
|
||||
#if defined(USE_MEM) || defined(WIN32)
|
||||
# define FG_MEM_COPY(to,from,n) memcpy(to, from, n)
|
||||
#else
|
||||
# define FG_MEM_COPY(to,from,n) bcopy(from, to, n)
|
||||
# define FG_MEM_COPY(to,from,n) bcopy(from, to, n)
|
||||
#endif
|
||||
|
||||
// closest (potentially viewable) tiles, centered on current tile.
|
||||
|
@ -748,6 +748,9 @@ void fgTileMgrRender( void ) {
|
|||
|
||||
|
||||
// $Log$
|
||||
// Revision 1.47 1998/12/05 14:11:19 curt
|
||||
// Sun portability tweak.
|
||||
//
|
||||
// Revision 1.46 1998/12/03 14:15:24 curt
|
||||
// Actually set the current scenery elevation based on scenery intersection point
|
||||
// rather than calculating the intesection point and throwing it away.
|
||||
|
|
Loading…
Reference in a new issue