mirror of https://github.com/eclipse/paho.mqtt.c
use standard preprocessor macro
This commit is contained in:
parent
7dcdb62112
commit
2707d33a1b
|
|
@ -17,7 +17,7 @@
|
||||||
#include "SHA1.h"
|
#include "SHA1.h"
|
||||||
|
|
||||||
// In the source files using endian functions (like SHA1.c):
|
// In the source files using endian functions (like SHA1.c):
|
||||||
#ifdef QNX_OS
|
#ifdef __QNXNTO__
|
||||||
#include <gulliver.h>
|
#include <gulliver.h>
|
||||||
#define be32toh(x) ENDIAN_BE32(x)
|
#define be32toh(x) ENDIAN_BE32(x)
|
||||||
#define htobe32(x) ENDIAN_BE32(x)
|
#define htobe32(x) ENDIAN_BE32(x)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue