Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
97f442ef
Commit
97f442ef
authored
May 28, 2015
by
Christian Beier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Instead of letting the build system define endianess, rely on endian.h.
parent
92f55848
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
CMakeLists.txt
CMakeLists.txt
+0
-3
configure.ac
configure.ac
+0
-1
rfbproto.h
rfb/rfbproto.h
+5
-5
No files found.
CMakeLists.txt
View file @
97f442ef
...
@@ -5,7 +5,6 @@ project(LibVNCServer)
...
@@ -5,7 +5,6 @@ project(LibVNCServer)
include
(
CheckFunctionExists
)
include
(
CheckFunctionExists
)
include
(
CheckIncludeFile
)
include
(
CheckIncludeFile
)
include
(
CheckTypeSize
)
include
(
CheckTypeSize
)
include
(
TestBigEndian
)
include
(
CheckCSourceCompiles
)
include
(
CheckCSourceCompiles
)
include
(
CheckCXXSourceCompiles
)
include
(
CheckCXXSourceCompiles
)
include
(
CheckCSourceRuns
)
include
(
CheckCSourceRuns
)
...
@@ -163,8 +162,6 @@ if(NOT HAVE_LIBVNCSERVER_IN_ADDR_T)
...
@@ -163,8 +162,6 @@ if(NOT HAVE_LIBVNCSERVER_IN_ADDR_T)
set
(
LIBVNCSERVER_NEED_INADDR_T 1
)
set
(
LIBVNCSERVER_NEED_INADDR_T 1
)
endif
(
NOT HAVE_LIBVNCSERVER_IN_ADDR_T
)
endif
(
NOT HAVE_LIBVNCSERVER_IN_ADDR_T
)
TEST_BIG_ENDIAN
(
LIBVNCSERVER_WORDS_BIGENDIAN
)
# TODO:
# TODO:
# LIBVNCSERVER_ENOENT_WORKAROUND
# LIBVNCSERVER_ENOENT_WORKAROUND
# inline
# inline
...
...
configure.ac
View file @
97f442ef
...
@@ -503,7 +503,6 @@ AC_CHECK_HEADERS([arpa/inet.h endian.h fcntl.h netdb.h netinet/in.h stdlib.h std
...
@@ -503,7 +503,6 @@ AC_CHECK_HEADERS([arpa/inet.h endian.h fcntl.h netdb.h netinet/in.h stdlib.h std
# Checks for typedefs, structures, and compiler characteristics.
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_CONST
AC_C_INLINE
AC_C_INLINE
AC_C_BIGENDIAN
AC_TYPE_SIZE_T
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_HEADER_TIME
AC_HEADER_SYS_WAIT
AC_HEADER_SYS_WAIT
...
...
rfb/rfbproto.h
View file @
97f442ef
...
@@ -80,11 +80,11 @@
...
@@ -80,11 +80,11 @@
#endif
#endif
#endif
#endif
/* some autotool versions do not properly prefix
# include <endian.h>
WORDS_BIGENDIAN, so do that manually */
# if __BYTE_ORDER == __BIG_ENDIAN
#
ifdef WORDS_BIGENDIAN
#
define LIBVBNCSERVER_WORDS_BIGENDIAN 1
#
define LIBVNCSERVER_WORDS_BIGENDIAN
#
endif
#endif
/* MS compilers don't have strncasecmp */
/* MS compilers don't have strncasecmp */
#ifdef _MSC_VER
#ifdef _MSC_VER
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment