Print numeric version number with --verison.

This commit is contained in:
Matt Pharr
2012-03-19 14:41:25 -07:00
parent a062653743
commit 777343331e
2 changed files with 4 additions and 2 deletions

2
ispc.h
View File

@@ -38,6 +38,8 @@
#ifndef ISPC_H
#define ISPC_H
#define ISPC_VERSION "1.2.0dev"
#if !defined(LLVM_2_9) && !defined(LLVM_3_0) && !defined(LLVM_3_0svn) && !defined(LLVM_3_1svn)
#error "Only LLVM 2.9, 3.0, and the 3.1 development branch are supported"
#endif