mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-24 15:02:43 +00:00
windows: ignore deprecated warning for fopen
This commit is contained in:
parent
527e8cd27e
commit
f89e874b33
@ -53,6 +53,11 @@
|
|||||||
#include "classic/hfp.h"
|
#include "classic/hfp.h"
|
||||||
#include "classic/hfp_msbc.h"
|
#include "classic/hfp_msbc.h"
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// ignore deprecated warning for fopen
|
||||||
|
#pragma warning(disable : 4996)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_POSIX_FILE_IO
|
#ifdef HAVE_POSIX_FILE_IO
|
||||||
#include "wav_util.h"
|
#include "wav_util.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -46,6 +46,11 @@
|
|||||||
#include "btstack_util.h"
|
#include "btstack_util.h"
|
||||||
#include "btstack_debug.h"
|
#include "btstack_debug.h"
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// ignore deprecated warning for fopen
|
||||||
|
#pragma warning(disable : 4996)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* wav reader state */
|
/* wav reader state */
|
||||||
static FILE * wav_reader_file;
|
static FILE * wav_reader_file;
|
||||||
static int wav_reader_bytes_per_sample = 2;
|
static int wav_reader_bytes_per_sample = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user