mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Try to fix the windows build. The comments in other files don't seem to
be quite accurate. =] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198690 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc65a8d518
commit
1446dc9ba8
@ -12,15 +12,16 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Support/Allocator.h"
|
||||
#include <malloc.h>
|
||||
|
||||
// The Windows.h header must be after LLVM and standard headers.
|
||||
#include "Windows.h"
|
||||
|
||||
#include <direct.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <psapi.h>
|
||||
#include <shellapi.h>
|
||||
|
||||
// The Windows.h header must be the last one included.
|
||||
#include "Windows.h"
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#if (HAVE_LIBPSAPI != 1)
|
||||
#error "libpsapi.a should be present"
|
||||
|
@ -16,6 +16,9 @@
|
||||
#include <stdio.h>
|
||||
#include <vector>
|
||||
|
||||
// The Windows.h header must be after LLVM and standard headers.
|
||||
#include "Windows.h"
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#include <imagehlp.h>
|
||||
#else
|
||||
@ -23,9 +26,6 @@
|
||||
#endif
|
||||
#include <psapi.h>
|
||||
|
||||
// The Windows.h header must be the last one included.
|
||||
#include "Windows.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma comment(lib, "psapi.lib")
|
||||
#pragma comment(lib, "dbghelp.lib")
|
||||
|
Loading…
Reference in New Issue
Block a user