rm unneeded defs

This commit is contained in:
git@daemon.de
2016-10-05 13:34:09 +02:00
parent e953979ef6
commit 8235272c41
2 changed files with 0 additions and 44 deletions

View File

@@ -32,28 +32,6 @@
#include <sodium.h>
#include <string.h>
#include <stdio.h>
#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 <time.h>
#include "defines.h"

View File

@@ -26,28 +26,6 @@
#include <sodium.h>
#include <string.h>
#include <stdio.h>
#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 <time.h>
#include <math.h>