[vlc-devel] commit: Remove useless check for inttypes.h ( Rémi Denis-Courmont )
git version control
git at videolan.org
Fri Apr 10 17:03:00 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 10 16:26:01 2009 +0300| [353c7215fadc4a7eaca1840e04598d5eeebe76aa] | committer: Rémi Denis-Courmont
Remove useless check for inttypes.h
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=353c7215fadc4a7eaca1840e04598d5eeebe76aa
---
configure.ac | 2 +-
modules/audio_filter/channel_mixer/mono.c | 2 +-
modules/audio_filter/converter/a52tofloat32.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 77db452..e6877fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -829,7 +829,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[
AC_MSG_RESULT(no)])
dnl Check for headers
-AC_CHECK_HEADERS(time.h errno.h stdint.h stdbool.h getopt.h strings.h inttypes.h sys/int_types.h wchar.h locale.h)
+AC_CHECK_HEADERS(time.h errno.h stdint.h stdbool.h getopt.h strings.h sys/int_types.h wchar.h locale.h)
AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h sys/ioctl.h sys/stat.h xlocale.h)
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h sys/eventfd.h])
AC_CHECK_HEADERS([net/if.h], [], [],
diff --git a/modules/audio_filter/channel_mixer/mono.c b/modules/audio_filter/channel_mixer/mono.c
index aa7562f..f6a95f5 100644
--- a/modules/audio_filter/channel_mixer/mono.c
+++ b/modules/audio_filter/channel_mixer/mono.c
@@ -32,7 +32,7 @@
#ifdef HAVE_STDINT_H
# include <stdint.h> /* int16_t .. */
-#elif defined(HAVE_INTTYPES_H)
+#else
# include <inttypes.h> /* int16_t .. */
#endif
diff --git a/modules/audio_filter/converter/a52tofloat32.c b/modules/audio_filter/converter/a52tofloat32.c
index f8a900d..572817e 100644
--- a/modules/audio_filter/converter/a52tofloat32.c
+++ b/modules/audio_filter/converter/a52tofloat32.c
@@ -36,7 +36,7 @@
#ifdef HAVE_STDINT_H
# include <stdint.h> /* int16_t .. */
-#elif HAVE_INTTYPES_H
+#else
# include <inttypes.h> /* int16_t .. */
#endif
More information about the vlc-devel
mailing list