gstfft: Use stdint.h instead of _stdint.h
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 12 Aug 2016 15:34:03 +0000 (21:04 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 19 Aug 2016 11:12:31 +0000 (12:12 +0100)
_stdint.h is generated by Autotools and we don't really need it.
stdint.h is now available on all supported platforms.
This really only makes a difference for MSVC, which has it starting from
Visual Studio 2015.

gst-libs/gst/fft/kiss_fft_s16.h
gst-libs/gst/fft/kiss_fft_s32.h

index 4303127..7dd40a2 100644 (file)
@@ -1,6 +1,14 @@
 #ifndef KISS_FFT_S16_H
 #define KISS_FFT_S16_H
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
@@ -26,8 +34,6 @@ extern "C" {
 
 #define KISS_FFT_S16_MALLOC g_malloc
 
-#include "_stdint.h"
-
 #define kiss_fft_s16_scalar int16_t
 
 typedef struct {
index 8edd664..ad2f2b0 100644 (file)
@@ -1,6 +1,14 @@
 #ifndef KISS_FFT_S32_H
 #define KISS_FFT_S32_H
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
@@ -26,9 +34,6 @@ extern "C" {
 
 #define KISS_FFT_S32_MALLOC g_malloc
 
-
-#include "_stdint.h"
-
 #define kiss_fft_s32_scalar int32_t
 
 typedef struct {