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