mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
Expose LLVM_VERSION_PATCH in llvm-config.h
There was no reason to keep this private in config.h, and users requested that it be available in PR22615. Also fix a bug where patch versions of '0' would cause the macro to remain undefined. The "#cmakedefine" command only creates a macro if the named variable would be considered true in the context of an if(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229529 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
24dded2342
commit
aaaad89266
@ -6,9 +6,6 @@
|
|||||||
/* Exported configuration */
|
/* Exported configuration */
|
||||||
#include "llvm/Config/llvm-config.h"
|
#include "llvm/Config/llvm-config.h"
|
||||||
|
|
||||||
/* Patch version of the LLVM API */
|
|
||||||
#cmakedefine LLVM_VERSION_PATCH ${LLVM_VERSION_PATCH}
|
|
||||||
|
|
||||||
/* Bug report URL. */
|
/* Bug report URL. */
|
||||||
#define BUG_REPORT_URL "${BUG_REPORT_URL}"
|
#define BUG_REPORT_URL "${BUG_REPORT_URL}"
|
||||||
|
|
||||||
|
@ -87,10 +87,13 @@
|
|||||||
#cmakedefine LLVM_USE_OPROFILE 1
|
#cmakedefine LLVM_USE_OPROFILE 1
|
||||||
|
|
||||||
/* Major version of the LLVM API */
|
/* Major version of the LLVM API */
|
||||||
#cmakedefine LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR}
|
#define LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR}
|
||||||
|
|
||||||
/* Minor version of the LLVM API */
|
/* Minor version of the LLVM API */
|
||||||
#cmakedefine LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
|
#define LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
|
||||||
|
|
||||||
|
/* Patch version of the LLVM API */
|
||||||
|
#define LLVM_VERSION_PATCH ${LLVM_VERSION_PATCH}
|
||||||
|
|
||||||
/* LLVM version string */
|
/* LLVM version string */
|
||||||
#define LLVM_VERSION_STRING "${PACKAGE_VERSION}"
|
#define LLVM_VERSION_STRING "${PACKAGE_VERSION}"
|
||||||
|
@ -92,6 +92,9 @@
|
|||||||
/* Minor version of the LLVM API */
|
/* Minor version of the LLVM API */
|
||||||
#undef LLVM_VERSION_MINOR
|
#undef LLVM_VERSION_MINOR
|
||||||
|
|
||||||
|
/* Patch version of the LLVM API */
|
||||||
|
#undef LLVM_VERSION_PATCH
|
||||||
|
|
||||||
/* LLVM version string */
|
/* LLVM version string */
|
||||||
#undef LLVM_VERSION_STRING
|
#undef LLVM_VERSION_STRING
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user