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
fd2931c0
Commit
fd2931c0
authored
Apr 23, 2002
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OSXvnc-server compile fixes
parent
a73243f8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
Makefile
Makefile
+6
-3
mac.c
mac.c
+4
-2
No files found.
Makefile
View file @
fd2931c0
...
...
@@ -2,7 +2,10 @@ INCLUDES=-I.
VNCSERVERLIB
=
-L
.
-lvncserver
-L
/usr/local/lib
-lz
-ljpeg
# for Solaris
EXTRALIBS
=
-lsocket
-lnsl
-L
/usr/X/lib
#EXTRALIBS=-lsocket -lnsl -L/usr/X/lib
# for FreeBSD
#EXTRAINCLUDES=-I/usr/X11R6/include
# Uncomment these two lines to enable use of PThreads
#PTHREADDEF = -DHAVE_PTHREADS
...
...
@@ -14,7 +17,7 @@ FLAG24 = -DALLOW24BPP
OPTFLAGS
=
-g
-Wall
#OPTFLAGS=-O2 -Wall
CFLAGS
=
$(OPTFLAGS)
$(PTHREADDEF)
$(FLAG24)
$(INCLUDES)
-DBACKCHANNEL
CFLAGS
=
$(OPTFLAGS)
$(PTHREADDEF)
$(FLAG24)
$(INCLUDES)
$(EXTRAINCLUDES)
-DBACKCHANNEL
RANLIB
=
ranlib
LIBS
=
$(LDFLAGS)
$(VNCSERVERLIB)
$(PTHREADLIB)
$(EXTRALIBS)
...
...
@@ -101,7 +104,7 @@ zippy: zippy.o libvncserver.a
clean
:
rm
-f
$(OBJS)
*
~ core
"#"
*
*
.bak
*
.orig storepasswd.o
\
mac.o example.o pnmshow.o pnmshow24.o sratest.o
\
x11vnc.o
mac.o example.o pnmshow.o pnmshow24.o sratest.o
\
blooptest.o
$(OBJS)
realclean
:
clean
...
...
mac.c
View file @
fd2931c0
...
...
@@ -225,7 +225,7 @@ static int keyTable[] = {
};
void
KbdAddEvent
(
Bool
down
,
KeySym
keySym
,
struct
rfbClientRec
*
cl
)
KbdAddEvent
(
Bool
down
,
KeySym
keySym
,
struct
_
rfbClientRec
*
cl
)
{
int
i
;
CGKeyCode
keyCode
=
-
1
;
...
...
@@ -349,7 +349,7 @@ void clientGone(rfbClientPtr cl)
exit
(
0
);
}
void
newClient
(
rfbClientPtr
cl
)
enum
rfbNewClientAction
newClient
(
rfbClientPtr
cl
)
{
if
(
startTime
>
0
&&
time
(
0
)
>
startTime
+
maxSecsToConnect
)
exit
(
0
);
...
...
@@ -358,6 +358,8 @@ void newClient(rfbClientPtr cl)
cl
->
clientGoneHook
=
clientGone
;
cl
->
clientData
=
(
void
*
)((
viewOnly
)
?-
1
:
0
);
return
(
RFB_CLIENT_ACCEPT
);
}
int
main
(
int
argc
,
char
*
argv
[])
...
...
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