check if _GNU_SOURCE is defined already

This commit is contained in:
Jason2866 2021-12-14 21:29:50 +01:00 committed by GitHub
parent b7230f394c
commit b8ac8ceae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

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