]> git.mxchange.org Git - flightgear.git/commitdiff
Added the declaration of memmove needed by the stl which apparently
authorcurt <curt>
Fri, 5 Jun 1998 18:17:10 +0000 (18:17 +0000)
committercurt <curt>
Fri, 5 Jun 1998 18:17:10 +0000 (18:17 +0000)
solaris only defines for cc compilations and not for c++ (__STDC__)

Cockpit/hud.cxx

index 830065453708ae4fa37a6431e0c312f6d81a1568..bfad1f39df9a3007466022b4b6076e0278220619 100644 (file)
 
 #include "hud.hxx"
 
+
+#ifdef __sun__
+extern "C" {
+  extern void *memmove(void *, const void *, size_t);
+}
+#endif
+
+
 // The following routines obtain information concerntin the aircraft's
 // current state and return it to calling instrument display routines.
 // They should eventually be member functions of the aircraft.
@@ -1915,9 +1923,13 @@ void fgUpdateHUD( void ) {
 }
 
 /* $Log$
-/* Revision 1.10  1998/05/17 16:58:12  curt
-/* Added a View Frustum Culling ratio display to the hud.
+/* Revision 1.11  1998/06/05 18:17:10  curt
+/* Added the declaration of memmove needed by the stl which apparently
+/* solaris only defines for cc compilations and not for c++ (__STDC__)
 /*
+ * Revision 1.10  1998/05/17 16:58:12  curt
+ * Added a View Frustum Culling ratio display to the hud.
+ *
  * Revision 1.9  1998/05/16 13:04:14  curt
  * New updates from Charlie Hotchkiss.
  *