mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libartnet: new package added
Signed-off-by: Martijn Zilverschoon <martijn@friedzombie.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
--- a/artnet/private.h
|
||||
+++ b/artnet/private.h
|
||||
@@ -100,7 +100,9 @@ extern uint16_t HIGH_BYTE;
|
||||
#endif
|
||||
|
||||
// byte ordering macros
|
||||
+#ifndef bswap_16
|
||||
#define bswap_16(x) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))
|
||||
+#endif
|
||||
|
||||
// htols : convert short from host to little endian order
|
||||
#ifdef WIN32
|
||||
Reference in New Issue
Block a user