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
68422b63
Commit
68422b63
authored
Jun 08, 2004
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation on MacOSX
parent
120500f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
SDLvncviewer.c
client_examples/SDLvncviewer.c
+4
-5
No files found.
client_examples/SDLvncviewer.c
View file @
68422b63
...
@@ -179,15 +179,14 @@ rfbKeySym SDL_keysym2rfbKeySym(int keysym) {
...
@@ -179,15 +179,14 @@ rfbKeySym SDL_keysym2rfbKeySym(int keysym) {
}
}
}
}
#define main main1
#include "ppmtest.c"
#undef main
void
update
(
rfbClient
*
cl
,
int
x
,
int
y
,
int
w
,
int
h
)
{
void
update
(
rfbClient
*
cl
,
int
x
,
int
y
,
int
w
,
int
h
)
{
SDL_UpdateRect
(
cl
->
clientData
,
x
,
y
,
w
,
h
);
SDL_UpdateRect
(
cl
->
clientData
,
x
,
y
,
w
,
h
);
SaveFramebufferAsPPM
(
cl
,
x
,
y
,
w
,
h
);
}
}
#ifdef mac
#define main SDLmain
#endif
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
rfbClient
*
cl
;
rfbClient
*
cl
;
int
i
,
buttonMask
=
0
;
int
i
,
buttonMask
=
0
;
...
...
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