Added ifdef statements around _GNU_SOURCE define to prevent warnings

This commit is contained in:
Thulinma 2016-11-03 15:30:07 +01:00
parent 629b24853a
commit af96a8577d
2 changed files with 4 additions and 0 deletions

View file

@ -1,4 +1,6 @@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
#endif
#include "h264.h" #include "h264.h"
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>

View file

@ -1,4 +1,6 @@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
#endif
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <math.h>//for log #include <math.h>//for log