Define fcvt as extern as NetBSD does.
This commit is contained in:
parent
252975a0d1
commit
d5b8dbd7c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55816
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
@ -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 <stdlib.h> //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
|
Loading…
Reference in New Issue
Block a user