1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Get the #ifdef right on LinkAllPasses.h.

llvm-svn: 19310
This commit is contained in:
Jeff Cohen 2005-01-06 07:01:08 +00:00
parent c205cf1049
commit 9bf3df5cc6
2 changed files with 4 additions and 4 deletions

View File

@ -16,14 +16,15 @@
#ifndef LLVM_TRANSFORMS_LINKALLPASSES_H
#define LLVM_TRANSFORMS_LINKALLPASSES_H
#ifdef LLVM_ON_WIN32
#ifdef _MSC_VER
#include "llvm/Transforms/Instrumentation.h"
#include "llvm/Transforms/IPO.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"
// Trying not to include <windows.h>, though maybe we should...
// Trying not to include <windows.h>, though maybe we should... Problem is,
// it pollutes the global namespace in some really nasty ways.
extern "C" __declspec(dllimport) void* __stdcall GetCurrentProcess();
namespace {
@ -107,6 +108,6 @@ namespace {
} X;
};
#endif // LLVM_ON_WIN32
#endif // _MSC_VER
#endif

View File

@ -12,7 +12,6 @@
//
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h"
#include "llvm/Module.h"
#include "llvm/PassManager.h"
#include "llvm/Bytecode/Reader.h"