mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 12:59:21 +08:00
21fb1b461c
This will make it easier to move newlib.h to use autoheader directly. We only want the newlib version defines in our hand curated version file, _newlib_version.h, not in the template header, newlib.h, so using AC_DEFINE doesn't make much sense.
18 lines
493 B
Plaintext
18 lines
493 B
Plaintext
/* Version macros for internal and downstream use. */
|
|
#ifndef _NEWLIB_VERSION_H__
|
|
#define _NEWLIB_VERSION_H__ 1
|
|
|
|
/* The newlib version in string format. */
|
|
#define _NEWLIB_VERSION "@NEWLIB_VERSION@"
|
|
|
|
/* The newlib major version number. */
|
|
#define __NEWLIB__ @NEWLIB_MAJOR_VERSION@
|
|
|
|
/* The newlib minor version number. */
|
|
#define __NEWLIB_MINOR__ @NEWLIB_MINOR_VERSION@
|
|
|
|
/* The newlib patch level. */
|
|
#define __NEWLIB_PATCHLEVEL__ @NEWLIB_PATCHLEVEL_VERSION@
|
|
|
|
#endif /* !_NEWLIB_VERSION_H__ */
|