summaryrefslogtreecommitdiff
path: root/libqmrom/include/byteswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'libqmrom/include/byteswap.h')
-rw-r--r--libqmrom/include/byteswap.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libqmrom/include/byteswap.h b/libqmrom/include/byteswap.h
new file mode 100644
index 0000000..6852736
--- /dev/null
+++ b/libqmrom/include/byteswap.h
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0 OR Apache-2.0
+/*
+ * Copyright 2022 Qorvo US, Inc.
+ *
+ */
+
+#ifndef BYTESWAP_H
+#define BYTESWAP_H
+#define bswap_16 __builtin_bswap16
+#endif