ijksdl_stdinc.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*****************************************************************************
  2. * ijksdl_stdinc.h
  3. *****************************************************************************
  4. *
  5. * Copyright (c) 2013 Bilibili
  6. * copyright (c) 2013 Zhang Rui <bbcallen@gmail.com>
  7. *
  8. * This file is part of ijkPlayer.
  9. *
  10. * ijkPlayer is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU Lesser General Public
  12. * License as published by the Free Software Foundation; either
  13. * version 2.1 of the License, or (at your option) any later version.
  14. *
  15. * ijkPlayer is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  18. * Lesser General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU Lesser General Public
  21. * License along with ijkPlayer; if not, write to the Free Software
  22. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  23. */
  24. #ifndef IJKSDL__IJKSDL_STDINC_H
  25. #define IJKSDL__IJKSDL_STDINC_H
  26. #include <stddef.h>
  27. #include <stdint.h>
  28. #include <stdbool.h>
  29. typedef int8_t Sint8;
  30. typedef uint8_t Uint8;
  31. typedef int16_t Sint16;
  32. typedef uint16_t Uint16;
  33. typedef int32_t Sint32;
  34. typedef uint32_t Uint32;
  35. typedef int64_t Sint64;
  36. typedef uint64_t Uint64;
  37. char *SDL_getenv(const char *name);
  38. #endif