summaryrefslogtreecommitdiff
path: root/pkg/efivar/compat.h
blob: a87008297beff87cc61780b80392f74017f6e4d4 (plain)
1
2
3
#ifndef __bswap_constant_16
#define __bswap_constant_16(x) (((x)<<8&0xff00) | ((x)>>8&0xff))
#endif