|
|
|
@ -41,9 +41,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group |
|
|
|
|
|
|
|
#define WIN32_LEAN_AND_MEAN |
|
|
|
|
|
|
|
#ifdef __MINGW32__ /* access to GlobalMemoryStatusEx in winbase.h:1558 */ |
|
|
|
#define WINVER 0x0500 |
|
|
|
#endif |
|
|
|
/* |
|
|
|
* The ngspice.h file included above defines BOOLEAN (via bool.h) and this |
|
|
|
* clashes with the definition obtained from windows.h (via winnt.h). |
|
|
|
@ -53,13 +50,7 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group |
|
|
|
*/ |
|
|
|
#undef BOOLEAN |
|
|
|
#include <windows.h> |
|
|
|
/* At least Windows 2000 is needed |
|
|
|
* Undefine _WIN32_WINNT 0x0500 if you want to compile under Windows ME |
|
|
|
* and older (not tested under Windows ME or 98!) |
|
|
|
*/ |
|
|
|
#if defined(__MINGW32__) || (_MSC_VER > 1200) /* Exclude VC++ 6.0 from using the psapi */ |
|
|
|
#include <psapi.h> |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif /* HAVE_WIN32 */ |
|
|
|
|
|
|
|
|