Remove WIN32 snprintf #define.

This commit is contained in:
Erik de Castro Lopo 2009-09-19 20:30:58 +10:00
parent 1531586a8e
commit 37a36e7746
3 changed files with 3 additions and 5 deletions

View File

@ -9,6 +9,9 @@
* src/ogg.c
Fix compiler warning when using gcc-4.5.0.
* programs/sndfile-info.c tests/utils.tpl
Remove WIN32 snprintf #define.
2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/caf.c

View File

@ -45,7 +45,6 @@
#if (defined (WIN32) || defined (_WIN32))
#include <windows.h>
#define snprintf _snprintf
#endif
static void print_version (void) ;

View File

@ -41,10 +41,6 @@ extern "C" {
#define PIPE_INDEX(x) ((x) + 500)
#define PIPE_TEST_LEN 12345
#if (defined (WIN32) || defined (_WIN32) || defined (__OS2__))
#define snprintf _snprintf
#endif
[+ FOR float_type
+]void gen_windowed_sine_[+ (get "name") +] ([+ (get "name") +] *data, int len, double maximum) ;
[+ ENDFOR float_type