Merge pull request #14050 from Jason2866/sil_warning

Silence compiler warning from lib ESP8266Audio
This commit is contained in:
Jason2866 2021-12-14 21:40:03 +01:00 committed by GitHub
commit 05e72f6b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -20,7 +20,9 @@
#if defined(ESP32) || defined(ESP8266) #if defined(ESP32) || defined(ESP8266)
#ifndef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
#endif
#include "AudioFileSourceICYStream.h" #include "AudioFileSourceICYStream.h"
#include <string.h> #include <string.h>

View File

@ -3,8 +3,10 @@
#ifdef DEBUG #ifdef DEBUG
#undef NDEBUG #undef NDEBUG
#else #else
#ifndef NDEBUG
#define NDEBUG #define NDEBUG
#endif #endif
#endif
/* config.h. Generated from config.h.in by configure. */ /* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */ /* config.h.in. Generated from configure.ac by autoheader. */