aboutsummaryrefslogtreecommitdiff
path: root/libbb/bb_bswap_64.c
blob: ce9d53b7f4496be6ebda5f98b07b43fa3f339e90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Utility routines.
 *
 * Copyright (C) 2010 Denys Vlasenko
 *
 * Licensed under GPLv2, see file LICENSE in this source tree.
 */

#include "libbb.h"

#if !(ULONG_MAX > 0xffffffff)
uint64_t FAST_FUNC bb_bswap_64(uint64_t x)
{
	return bswap_64(x);
}
#endif