]> git.xonotic.org Git - xonotic/darkplaces.git/blob - sys_unix.c
deduplicate Sys_Shutdown()
[xonotic/darkplaces.git] / sys_unix.c
1
2 #ifdef WIN32
3 #include <windows.h>
4 #include <mmsystem.h>
5 #else
6 #include <sys/time.h>
7 #endif
8
9 #include "darkplaces.h"
10
11 sys_t sys;
12
13 // =======================================================================
14 // General routines
15 // =======================================================================
16 void Sys_SDL_Shutdown(void)
17 {
18 }
19
20 void Sys_SDL_Dialog(const char *title, const char *string)
21 {
22 }
23
24 char *Sys_GetClipboardData (void)
25 {
26         return NULL;
27 }
28
29 void Sys_SDL_Init(void)
30 {
31 }
32
33 qbool sys_supportsdlgetticks = false;
34 unsigned int Sys_SDL_GetTicks (void)
35 {
36         Sys_Error("Called Sys_SDL_GetTicks on non-SDL target");
37         return 0;
38 }
39 void Sys_SDL_Delay (unsigned int milliseconds)
40 {
41         Sys_Error("Called Sys_SDL_Delay on non-SDL target");
42 }