summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-03-05 05:55:27 +0000
committerBill Spitzak <spitzak@gmail.com>1999-03-05 05:55:27 +0000
commit6c793587e3305a4de1a080bb5663a356392c1075 (patch)
tree40c05b09c2984790c17380c4ccf09ab021b838fa /src
parent8be248edbc1e1fce03f2535cbe5e1d14de8655c0 (diff)
I hope this is a fix for vsnprintf on HPUX. It declares it but does
not define it, so it should link in the C one that hpux has. git-svn-id: file:///fltk/svn/fltk/trunk@373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_abort.cxx6
-rw-r--r--src/fl_ask.cxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Fl_abort.cxx b/src/Fl_abort.cxx
index 32b3c024c..788a1c780 100644
--- a/src/Fl_abort.cxx
+++ b/src/Fl_abort.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_abort.cxx,v 1.7 1999/02/02 14:55:59 mike Exp $"
+// "$Id: Fl_abort.cxx,v 1.8 1999/03/05 05:55:27 bill Exp $"
//
// Warning/error message code for the Fast Light Tool Kit (FLTK).
//
@@ -57,7 +57,7 @@ static void error(const char *format, ...) {
#else
#include <windows.h>
-# if !HAVE_VSNPRINTF
+# if !HAVE_VSNPRINTF || defined(__hpux)
extern "C" {
int vsnprintf(char* str, size_t size, const char* fmt, va_list ap);
}
@@ -89,5 +89,5 @@ void (*Fl::error)(const char* format, ...) = ::error;
void (*Fl::fatal)(const char* format, ...) = ::error;
//
-// End of "$Id: Fl_abort.cxx,v 1.7 1999/02/02 14:55:59 mike Exp $".
+// End of "$Id: Fl_abort.cxx,v 1.8 1999/03/05 05:55:27 bill Exp $".
//
diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx
index 74c41f7f0..23eef77cb 100644
--- a/src/fl_ask.cxx
+++ b/src/fl_ask.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_ask.cxx,v 1.7 1999/01/07 19:17:36 mike Exp $"
+// "$Id: fl_ask.cxx,v 1.8 1999/03/05 05:55:27 bill Exp $"
//
// Standard dialog functions for the Fast Light Tool Kit (FLTK).
//
@@ -75,7 +75,7 @@ static Fl_Window *makeform() {
return w;
}
-#if !HAVE_VSNPRINTF
+#if !HAVE_VSNPRINTF || defined(__hpux)
extern "C" {
int vsnprintf(char* str, size_t size, const char* fmt, va_list ap);
}
@@ -195,5 +195,5 @@ const char *fl_password(const char *fmt, const char *defstr, ...) {
}
//
-// End of "$Id: fl_ask.cxx,v 1.7 1999/01/07 19:17:36 mike Exp $".
+// End of "$Id: fl_ask.cxx,v 1.8 1999/03/05 05:55:27 bill Exp $".
//