Merge in Windows port using mingw and make.

This commit is contained in:
Russ Cox
2005-10-31 15:30:23 +00:00
parent d920d42c8b
commit 5d6ebf7a53
56 changed files with 730 additions and 978 deletions

18
include/9windows.h Normal file
View 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;

View File

@ -4,7 +4,7 @@
# define panic dt_panic
# endif
#elif defined(WINDOWS)
# include "winduhz.h"
# include "9windows.h"
#else
# error "Define an OS"
#endif