diff options
Diffstat (limited to 'innobase/include/univ.i')
-rw-r--r-- | innobase/include/univ.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/innobase/include/univ.i b/innobase/include/univ.i index a4f29dc4cf3..f32161fed20 100644 --- a/innobase/include/univ.i +++ b/innobase/include/univ.i @@ -63,6 +63,12 @@ Microsoft Visual C++ */ #define HAVE_PWRITE #endif +/* Apparently in some old SCO Unixes the return type of sprintf is not +an integer as it should be according to the modern Posix standard. Because +of that we define sprintf inside InnoDB code as our own function ut_sprintf */ +#undef sprintf +#define sprintf ut_sprintf + #endif /* DEBUG VERSION CONTROL |