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
25697e82
Commit
25697e82
authored
Sep 29, 2001
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaned up pthreads (now compiles) and rfb.h (first undefine TRUE)
parent
282b071a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
Makefile
Makefile
+2
-2
main.c
main.c
+1
-1
rfb.h
rfb.h
+2
-0
No files found.
Makefile
View file @
25697e82
...
@@ -7,8 +7,8 @@ INCLUDES=-I.
...
@@ -7,8 +7,8 @@ INCLUDES=-I.
VNCSERVERLIB
=
-L
.
-lvncserver
-L
/usr/local/lib
-lz
-ljpeg
VNCSERVERLIB
=
-L
.
-lvncserver
-L
/usr/local/lib
-lz
-ljpeg
# These two lines enable useage of PThreads
# These two lines enable useage of PThreads
#
CFLAGS += -DHAVE_PTHREADS
CFLAGS
+=
-DHAVE_PTHREADS
#
VNCSERVERLIB += -lpthread
VNCSERVERLIB
+=
-lpthread
LIBS
=
$(LDFLAGS)
$(VNCSERVERLIB)
LIBS
=
$(LDFLAGS)
$(VNCSERVERLIB)
...
...
main.c
View file @
25697e82
...
@@ -106,7 +106,7 @@ clientOutput(void *data)
...
@@ -106,7 +106,7 @@ clientOutput(void *data)
{
{
rfbClientPtr
cl
=
(
rfbClientPtr
)
data
;
rfbClientPtr
cl
=
(
rfbClientPtr
)
data
;
Bool
haveUpdate
;
Bool
haveUpdate
;
RegionRec
updateRegion
;
sraRegion
*
updateRegion
;
while
(
1
)
{
while
(
1
)
{
haveUpdate
=
false
;
haveUpdate
=
false
;
...
...
rfb.h
View file @
25697e82
...
@@ -37,7 +37,9 @@ typedef CARD32 KeySym;
...
@@ -37,7 +37,9 @@ typedef CARD32 KeySym;
/* for some strange reason, "typedef signed char Bool;" yields a four byte
/* for some strange reason, "typedef signed char Bool;" yields a four byte
signed int on an SGI, but only for rfbserver.o!!! */
signed int on an SGI, but only for rfbserver.o!!! */
#define Bool signed char
#define Bool signed char
#undef FALSE
#define FALSE 0
#define FALSE 0
#undef TRUE
#define TRUE -1
#define TRUE -1
#define xalloc malloc
#define xalloc malloc
...
...
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