Added ifdef statements around _GNU_SOURCE define to prevent warnings
This commit is contained in:
parent
629b24853a
commit
af96a8577d
2 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue