bb_bswap_64.c 260 B

12345678910111213141516
  1. /*
  2. * Utility routines.
  3. *
  4. * Copyright (C) 2010 Denys Vlasenko
  5. *
  6. * Licensed under GPLv2, see file LICENSE in this source tree.
  7. */
  8. #include "libbb.h"
  9. #if !(ULONG_MAX > 0xffffffff)
  10. uint64_t FAST_FUNC bb_bswap_64(uint64_t x)
  11. {
  12. return bswap_64(x);
  13. }
  14. #endif