karelklic / canal

Abstract interpreter for real-world application programs
https://github.com/karelklic/canal/wiki
Other
32 stars 2 forks source link

LLVM_VERSION_MAJOR and LLVM_VERSION_MINOR #101

Closed karelklic closed 11 years ago

karelklic commented 11 years ago

LLVM 3.1 and newer include macros LLVM_VERSION_MAJOR and LLVM_VERSION_MINOR.

We currently define our own macros LLVM_MAJOR and LLVM_MINOR. We should rename them to be the same as the LLVM's macros. We should define them only in LLVM 3.0 and older.

karelklic commented 11 years ago
#include <llvm/Config/config.h>