Merge in Windows port using mingw and make.
This commit is contained in:
18
include/9windows.h
Normal file
18
include/9windows.h
Normal file
@ -0,0 +1,18 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
#include <setjmp.h>
|
||||
#include <direct.h>
|
||||
#include <process.h>
|
||||
#include <time.h>
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
/* disable various silly warnings */
|
||||
#pragma warning( disable : 4245 4305 4244 4102 4761 4090 4028 4024)
|
||||
|
||||
typedef __int64 p9_vlong;
|
||||
typedef unsigned __int64 p9_uvlong;
|
@ -4,7 +4,7 @@
|
||||
# define panic dt_panic
|
||||
# endif
|
||||
#elif defined(WINDOWS)
|
||||
# include "winduhz.h"
|
||||
# include "9windows.h"
|
||||
#else
|
||||
# error "Define an OS"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user