diff options
author | José Fonseca <[email protected]> | 2009-01-07 12:02:06 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-01-08 12:06:07 +0000 |
commit | 2d3953fd5ff91d9717d806a1fa3c8537efb8b67c (patch) | |
tree | df3baf789b8bc298ed9dd164f3992ad4d14c73bf /src/mesa/main/imports.h | |
parent | b57797f3a81bd04a992868c48a6d98d66e692f3d (diff) |
mesa: Add _mesa_snprintf.
On Windows snprintf is renamed as _snprintf.
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r-- | src/mesa/main/imports.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index bab00420710..92d5d0bb4a8 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -763,6 +763,9 @@ _mesa_strtod( const char *s, char **end ); extern int _mesa_sprintf( char *str, const char *fmt, ... ); +extern int +_mesa_snprintf( char *str, size_t size, const char *fmt, ... ); + extern void _mesa_printf( const char *fmtString, ... ); |