mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 15:54:05 +01:00
fix for MSVC8 (Visual Studio 2005) regarding snprintf
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@53 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
55a9b6e220
commit
978af45aa2
@ -2,13 +2,21 @@
|
||||
* vgmstream.h - definitions for VGMSTREAM, encapsulating a multi-channel, looped audio stream
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
|
||||
#include "streamfile.h"
|
||||
#include "coding/g721_decoder.h"
|
||||
|
||||
#ifndef _VGMSTREAM_H
|
||||
#define _VGMSTREAM_H
|
||||
|
||||
/* Fix for Visual C++ 2005: will not compile otherwise */
|
||||
#ifdef _MSC_VER
|
||||
#if _MSC_VER == 1400
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* The encoding type specifies the format the sound data itself takes */
|
||||
typedef enum {
|
||||
/* 16-bit PCM */
|
||||
@ -177,4 +185,5 @@ int vgmstream_do_loop(VGMSTREAM * vgmstream);
|
||||
|
||||
void describe_vgmstream(VGMSTREAM * vgmstream, char * desc, int length);
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user