Mercurial > hg > octave-thorsten
diff src/DLD-FUNCTIONS/cquad.cc @ 11181:a512c537b38e
cquad.cc: define copysign if needed
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 03 Nov 2010 03:25:59 -0400 (2010-11-03) |
parents | c08e9d4e54c7 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/cquad.cc +++ b/src/DLD-FUNCTIONS/cquad.cc @@ -31,6 +31,11 @@ #include "parse.h" #include "ov-fcn-handle.h" +#if ! defined (HAVE_COPYSIGN) && defined (HAVE__COPYSIGN) +#define copysign _copysign +#define HAVE_COPYSIGN 1 +#endif + /* Define the size of the interval heap. */ #define cquad_heapsize 200