summaryrefslogtreecommitdiff
path: root/src/fr-command-tar.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-19 21:26:01 +0200
committerVictor Kareh <[email protected]>2019-10-01 22:06:07 -0400
commit610d0a08d8cb2dea6d380a5bffe6179fdd423589 (patch)
treec7c15154b9f2a19900123177a21e3d5667edf50d /src/fr-command-tar.c
parentf70a69eb07d5b240f1ca7b53bf42077702cded01 (diff)
downloadengrampa-610d0a08d8cb2dea6d380a5bffe6179fdd423589.tar.bz2
engrampa-610d0a08d8cb2dea6d380a5bffe6179fdd423589.tar.xz
Remove internal mkdtemp and define feature test macro
mkdtemp(): /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc 2.19 and earlier: */ _BSD_SOURCE || /* Since glibc 2.10: */ _POSIX_C_SOURCE >= 200809L _POSIX_C_SOURCE 200809L is enabled by _XOPEN_SOURCE >= 700. Ref: http://man7.org/linux/man-pages/man7/feature_test_macros.7.html
Diffstat (limited to 'src/fr-command-tar.c')
-rw-r--r--src/fr-command-tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c
index 61800ce..3c47399 100644
--- a/src/fr-command-tar.c
+++ b/src/fr-command-tar.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _XOPEN_SOURCE /* strptime */
+#define _XOPEN_SOURCE 700
#include <config.h>