all: Compile globally without _GNU_SOURCE, define _BSD_SOURCE or _GNU_SOURCE where needed

This commit is contained in:
Pali Rohár committed 2016-12-06 23:10:58 +01:00
1 parent 676da47751
commit 5e79d651ca
4 files changed
+17 -1

No files matched your search

+6
View File
@@ -20,6 +20,12 @@
/* This is simple CAL parser form Calvaria */
#ifdef __linux__
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>