Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use AC_USE_SYSTEM_EXTENSIONS instead of defining _GNU_SOURCE
  • Loading branch information
tagoh committed Dec 7, 2012
1 parent 205d8e0 commit 5793da7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion configure.ac
Expand Up @@ -17,8 +17,9 @@ AM_MAINTAINER_MODE
AM_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4macros])

AC_PROG_LIBTOOL
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC
AC_PROG_LIBTOOL

GNOME_COMPILE_WARNINGS

Expand Down
4 changes: 0 additions & 4 deletions liblangtag/lt-utils.c
Expand Up @@ -14,10 +14,6 @@
#include "config.h"
#endif

#if HAVE_VASPRINTF
#define _GNU_SOURCE
#endif

#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down

0 comments on commit 5793da7

Please sign in to comment.