From 5098aa800e024bee0500ae9c2565d49019fe76b7 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 5 Jun 1998 18:17:10 +0000 Subject: [PATCH] Added the declaration of memmove needed by the stl which apparently solaris only defines for cc compilations and not for c++ (__STDC__) --- Cockpit/hud.cxx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Cockpit/hud.cxx b/Cockpit/hud.cxx index 830065453..bfad1f39d 100644 --- a/Cockpit/hud.cxx +++ b/Cockpit/hud.cxx @@ -52,6 +52,14 @@ #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. * -- 2.39.2