1 |
// -*- C++ -*- |
// -*- C++ -*- |
2 |
/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2003 |
/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2003, 2005 |
3 |
Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
4 |
Written by James Clark (jjc@jclark.com) |
Written by James Clark (jjc@jclark.com) |
5 |
|
|
25 |
#include <stdlib.h> |
#include <stdlib.h> |
26 |
#include <errno.h> |
#include <errno.h> |
27 |
|
|
|
#ifdef NEED_DECLARATION_HYPOT |
|
|
extern "C" { |
|
|
double hypot(double, double); |
|
|
} |
|
|
#endif /* NEED_DECLARATION_HYPOT */ |
|
|
|
|
28 |
#ifdef NEED_DECLARATION_RAND |
#ifdef NEED_DECLARATION_RAND |
29 |
#undef rand |
#undef rand |
30 |
extern "C" { |
extern "C" { |