mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gstfft: Use stdint.h instead of _stdint.h
_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.
This commit is contained in:
parent
38622ee1e8
commit
a276fd45b8
2 changed files with 16 additions and 5 deletions
|
@ -1,6 +1,14 @@
|
||||||
#ifndef KISS_FFT_S16_H
|
#ifndef KISS_FFT_S16_H
|
||||||
#define 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 <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -26,8 +34,6 @@ extern "C" {
|
||||||
|
|
||||||
#define KISS_FFT_S16_MALLOC g_malloc
|
#define KISS_FFT_S16_MALLOC g_malloc
|
||||||
|
|
||||||
#include "_stdint.h"
|
|
||||||
|
|
||||||
#define kiss_fft_s16_scalar int16_t
|
#define kiss_fft_s16_scalar int16_t
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
#ifndef KISS_FFT_S32_H
|
#ifndef KISS_FFT_S32_H
|
||||||
#define 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 <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -26,9 +34,6 @@ extern "C" {
|
||||||
|
|
||||||
#define KISS_FFT_S32_MALLOC g_malloc
|
#define KISS_FFT_S32_MALLOC g_malloc
|
||||||
|
|
||||||
|
|
||||||
#include "_stdint.h"
|
|
||||||
|
|
||||||
#define kiss_fft_s32_scalar int32_t
|
#define kiss_fft_s32_scalar int32_t
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Reference in a new issue