mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
windows gettimeofday sys func conflict fix
This commit is contained in:
parent
7ee148b3b9
commit
0df576ed7d
1 changed files with 7 additions and 0 deletions
|
|
@ -19,6 +19,10 @@
|
|||
** along with mkxp. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#if windows
|
||||
#define HAVE_GETTIMEOFDAY 1
|
||||
#endif
|
||||
|
||||
#include "graphics.h"
|
||||
|
||||
#include "util.h"
|
||||
|
|
@ -46,6 +50,9 @@
|
|||
|
||||
#include <time.h>
|
||||
#ifndef _MSC_VER
|
||||
#if windows
|
||||
#define _SYS_TIME_H_
|
||||
#endif
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue