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
This commit is contained in:
Bill Spitzak
1999-03-05 05:55:27 +00:00
parent 8be248edbc
commit 6c793587e3
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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 $".
//
+3 -3
View File
@@ -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 $".
//