]> git.mxchange.org Git - flightgear.git/commitdiff
Sun portability tweak.
authorcurt <curt>
Sat, 5 Dec 1998 14:11:19 +0000 (14:11 +0000)
committercurt <curt>
Sat, 5 Dec 1998 14:11:19 +0000 (14:11 +0000)
Scenery/tilemgr.cxx

index 93c91e9fa9dad3b08f7cca0b69fd7ff9d3a7ddf3..28a89103606adeb1ae845a711ac8910f5802a2b2 100644 (file)
 
 #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.