diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-03-05 05:55:27 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-03-05 05:55:27 +0000 |
| commit | 6c793587e3305a4de1a080bb5663a356392c1075 (patch) | |
| tree | 40c05b09c2984790c17380c4ccf09ab021b838fa /src/Fl_abort.cxx | |
| parent | 8be248edbc1e1fce03f2535cbe5e1d14de8655c0 (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/Fl_abort.cxx')
| -rw-r--r-- | src/Fl_abort.cxx | 6 |
1 files changed, 3 insertions, 3 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 $". // |
