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
68202741
Commit
68202741
authored
Nov 08, 2001
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gettimeofday for windows
parent
a6e54017
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
main.c
main.c
+14
-0
No files found.
main.c
View file @
68202741
...
@@ -598,6 +598,20 @@ void rfbInitServer(rfbScreenInfoPtr rfbScreen)
...
@@ -598,6 +598,20 @@ void rfbInitServer(rfbScreenInfoPtr rfbScreen)
httpInitSockets
(
rfbScreen
);
httpInitSockets
(
rfbScreen
);
}
}
#ifdef WIN32
#include <fcntl.h>
#include <conio.h>
#include <sys/timeb.h>
void
gettimeofday
(
struct
timeval
*
tv
,
char
*
)
{
SYSTEMTIME
t
;
GetSystemTime
(
&
t
);
tv
->
tv_sec
=
t
.
wHour
*
3600
+
t
.
wMinute
*
60
+
t
.
wSecond
;
tv
->
tv_usec
=
t
.
wMilliseconds
*
1000
;
}
#endif
void
void
rfbProcessEvents
(
rfbScreenInfoPtr
rfbScreen
,
long
usec
)
rfbProcessEvents
(
rfbScreenInfoPtr
rfbScreen
,
long
usec
)
{
{
...
...
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