From: Andrey Rys Date: Sat, 2 Feb 2019 12:51:44 +0000 (+0700) Subject: Define _DEFAULT_SOURCE. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=4ae16105a9849ffbd2a9bb0e02fa4dfe8b83ebd6;p=tfcrypt.git Define _DEFAULT_SOURCE. --- diff --git a/VERSION b/VERSION index 7f8f011..45a4fb7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7 +8 diff --git a/tfcrypt.h b/tfcrypt.h index 19aa726..c469638 100644 --- a/tfcrypt.h +++ b/tfcrypt.h @@ -29,6 +29,9 @@ #ifndef _TFCRYPT_H #define _TFCRYPT_H +#ifndef _DEFAULT_SOURCE +#define _DEFAULT_SOURCE +#endif #ifndef _BSD_SOURCE #define _BSD_SOURCE #endif diff --git a/tfdef.h b/tfdef.h index 5bc29cd..5450271 100644 --- a/tfdef.h +++ b/tfdef.h @@ -1,6 +1,10 @@ #ifndef _THREEFISH_CIPHER_DEFINITIONS_HEADER #define _THREEFISH_CIPHER_DEFINITIONS_HEADER +#ifndef _DEFAULT_SOURCE +#define _DEFAULT_SOURCE +#endif + #ifndef _BSD_SOURCE #define _BSD_SOURCE #endif