ffversion.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * ffversion.h
  3. *
  4. * Copyright (c) 2013 Bilibili
  5. * Copyright (c) 2013 Zhang Rui <bbcallen@gmail.com>
  6. *
  7. * This file is part of ijkPlayer.
  8. *
  9. * ijkPlayer is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Lesser General Public
  11. * License as published by the Free Software Foundation; either
  12. * version 2.1 of the License, or (at your option) any later version.
  13. *
  14. * ijkPlayer is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public
  20. * License along with ijkPlayer; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  22. */
  23. #if defined(__aarch64__)
  24. # include "arm64/ffversion.h"
  25. #elif defined(__x86_64__)
  26. # include "x86_64/ffversion.h"
  27. #elif defined(__arm__)
  28. # if defined(__ARM_ARCH_7S__)
  29. # include "armv7s/ffversion.h"
  30. # elif defined(__ARM_ARCH_7__)
  31. # include "armv7/ffversion.h"
  32. # else
  33. # error Unsupport ARM architecture
  34. # endif
  35. #elif defined(__i386__)
  36. # include "i386/ffversion.h"
  37. #else
  38. # error Unsupport architecture
  39. #endif