summaryrefslogtreecommitdiff
path: root/include/remote/endian.h
diff options
context:
space:
mode:
authorAdeel Mujahid <3840695+am11@users.noreply.github.com>2022-06-29 02:43:45 +0300
committerGitHub <noreply@github.com>2022-06-28 19:43:45 -0400
commitcfcf3d193a4425f58ed9556ec54b6d7ab0557330 (patch)
tree04da0e1e3fe3dc3fbdb55f53b0fabbf01e033d82 /include/remote/endian.h
parent9c7245b97d515c9bdb9f8b63dc1d4e35e2fafa56 (diff)
downloadlibunwind-cfcf3d193a4425f58ed9556ec54b6d7ab0557330.tar.gz
Add remote unwinding support for macOS (#365)
* Add remote unwinding support for macOS * Fix broken Win build by bumping minimum language requirement to C11 * Update license headers * Rename remote_unwind to remote * Revert Gparser.c
Diffstat (limited to 'include/remote/endian.h')
-rw-r--r--include/remote/endian.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/remote/endian.h b/include/remote/endian.h
new file mode 100644
index 00000000..6aa6466d
--- /dev/null
+++ b/include/remote/endian.h
@@ -0,0 +1,12 @@
+// This is an incomplete & imprecice implementation of the
+// standard file by the same name
+
+#ifndef ENDIAN_H
+#define ENDIAN_H
+
+#define __LITTLE_ENDIAN 1234
+#define __BIG_ENDIAN 4321
+
+#define __BYTE_ORDER __LITTLE_ENDIAN
+
+#endif // ENDIAN_H