- more compact type definitions for speexDSP

This commit is contained in:
Dmytro Bogovych 2018-07-15 12:08:59 +03:00
parent 20ee81666b
commit 6d3a335e7c
1 changed files with 13 additions and 1 deletions

View File

@ -119,7 +119,19 @@
#else #else
#include "speexdsp_config_types.h" #if defined HAVE_STDINT_H
# include <stdint.h>
#elif defined HAVE_INTTYPES_H
# include <inttypes.h>
#elif defined HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
typedef int16_t spx_int16_t;
typedef uint16_t spx_uint16_t;
typedef int32_t spx_int32_t;
typedef uint32_t spx_uint32_t;
#endif #endif