config_types.h 468 B

12345678910111213141516171819202122
  1. #ifndef _CONFIG_TYPES_H
  2. #define _CONFIG_TYPES_H
  3. #if defined(__ANDROID__) || defined(__IOS__) || defined(__linux__) || defined(__EMSCRIPTEN__) || defined(GEKKO)
  4. /* Android or iOS compiler */
  5. # include <stdint.h>
  6. typedef int16_t ogg_int16_t;
  7. typedef uint16_t ogg_uint16_t;
  8. typedef int32_t ogg_int32_t;
  9. typedef uint32_t ogg_uint32_t;
  10. typedef int64_t ogg_int64_t;
  11. #else
  12. # error You should add the definitions of ogg_*_t types for your platform here.
  13. #endif
  14. #endif