From 8235272c415b50b99f533db221cf3440687aeef1 Mon Sep 17 00:00:00 2001 From: "git@daemon.de" Date: Wed, 5 Oct 2016 13:34:09 +0200 Subject: [PATCH] rm unneeded defs --- include/pcp/ed.h | 22 ---------------------- include/pcp/key.h | 22 ---------------------- 2 files changed, 44 deletions(-) diff --git a/include/pcp/ed.h b/include/pcp/ed.h index e3d8fce..316078e 100644 --- a/include/pcp/ed.h +++ b/include/pcp/ed.h @@ -32,28 +32,6 @@ #include #include #include - -#if defined __linux__ || defined __GNU__ || defined __GLIBC__ -# ifndef _DEFAULT_SOURCE -# define _DEFAULT_SOURCE 1 -# endif -# -# ifndef _XOPEN_SOURCE -# define _XOPEN_SOURCE 1 -# endif -# -# ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -# endif -# -# ifndef __USE_XOPEN -# define __USE_XOPEN 1 -# endif -# -#else -# define _BSD_SOURCE 1 -#endif - #include #include "defines.h" diff --git a/include/pcp/key.h b/include/pcp/key.h index f4be2df..6f9e84d 100644 --- a/include/pcp/key.h +++ b/include/pcp/key.h @@ -26,28 +26,6 @@ #include #include #include - -#if defined __linux__ || defined __GNU__ || defined __GLIBC__ -# ifndef _DEFAULT_SOURCE -# define _DEFAULT_SOURCE 1 -# endif -# -# ifndef _XOPEN_SOURCE -# define _XOPEN_SOURCE 1 -# endif -# -# ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -# endif -# -# ifndef __USE_XOPEN -# define __USE_XOPEN 1 -# endif -# -#else -# define _BSD_SOURCE 1 -#endif - #include #include