Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add diagrams #18

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add diagrams #18

wants to merge 4 commits into from

Conversation

arthurggordon
Copy link

Added diagrams...

#include <byteswap.h>
#else
Copy link
Contributor

@kozyilmaz kozyilmaz May 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this for macOS? There are multiple changes related to byteswap.h in the PR and there is a replacement header that I use for macOS:

$ cat byteswap.h

#ifndef __BYTESWAP_H__
#define __BYTESWAP_H__

#ifdef __cplusplus
extern "C" {
#endif //__cplusplus

// Mac OS X / Darwin features
#include <libkern/OSByteOrder.h>
#define __bswap_16(x) OSSwapInt16(x)
#define __bswap_32(x) OSSwapInt32(x)
#define __bswap_64(x) OSSwapInt64(x)

#ifdef __cplusplus
}
#endif //__cplusplus
#endif // __BYTESWAP_H__

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants