From d5b8dbd7c4ed538dfa345736f677594623ba4059 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Sun, 10 Mar 2002 17:14:48 +0000 Subject: Define fcvt as extern as NetBSD does. --- .../files/patch-svx::source::dialog::graphctl.cxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 editors/openoffice.org-2.0-devel/files/patch-svx::source::dialog::graphctl.cxx (limited to 'editors/openoffice.org-2.0-devel/files/patch-svx::source::dialog::graphctl.cxx') diff --git a/editors/openoffice.org-2.0-devel/files/patch-svx::source::dialog::graphctl.cxx b/editors/openoffice.org-2.0-devel/files/patch-svx::source::dialog::graphctl.cxx new file mode 100644 index 000000000000..a6a31d0c9621 --- /dev/null +++ b/editors/openoffice.org-2.0-devel/files/patch-svx::source::dialog::graphctl.cxx @@ -0,0 +1,18 @@ +--- ../svx/source/dialog/graphctl.cxx 2001/08/16 15:41:29 1.6 ++++ ../svx/source/dialog/graphctl.cxx 2002/03/03 19:41:13 +@@ -62,12 +62,12 @@ + #if defined( OS2 ) || defined( WIN ) || defined( UNX ) || defined( WNT ) + #include //wegen fcvt + #endif +-#if defined(MAC) || defined(NETBSD) +-#if defined(NETBSD) ++#if defined(MAC) || defined(NETBSD) || defined(FREEBSD) ++#if defined(NETBSD) || defined(FREEBSD) + extern "C" { + #endif + char *fcvt(double value, int ndigit, int *decpt, int *sign); +-#if defined(NETBSD) ++#if defined(NETBSD) || defined(FREEBSD) + } + #endif + #endif -- cgit v1.2.3