Merge pull request #90 from stweil/fix

Fix some recently introduced regressions
pull/1/head
Christian Beier 9 years ago
commit 228a75fe3a

@ -60,6 +60,7 @@
* messages have to be explained by comments. * messages have to be explained by comments.
*/ */
#include <stdint.h>
#if defined(WIN32) && !defined(__MINGW32__) #if defined(WIN32) && !defined(__MINGW32__)
#define LIBVNCSERVER_WORDS_BIGENDIAN #define LIBVNCSERVER_WORDS_BIGENDIAN
@ -80,11 +81,12 @@
#endif #endif
#endif #endif
#if !defined(_WIN32)
# include <endian.h> # include <endian.h>
# if __BYTE_ORDER == __BIG_ENDIAN # if __BYTE_ORDER == __BIG_ENDIAN
# define LIBVBNCSERVER_WORDS_BIGENDIAN 1 # define LIBVNCSERVER_WORDS_BIGENDIAN 1
# endif # endif
#endif /* !_WIN32 */
/* MS compilers don't have strncasecmp */ /* MS compilers don't have strncasecmp */
#ifdef _MSC_VER #ifdef _MSC_VER
@ -107,8 +109,6 @@ typedef int8_t rfbBool;
#define TRUE -1 #define TRUE -1
#endif #endif
#include <stdint.h>
typedef uint32_t rfbKeySym; typedef uint32_t rfbKeySym;
typedef uint32_t rfbPixel; typedef uint32_t rfbPixel;

Loading…
Cancel
Save