mirror of
https://github.com/minio/minio-cpp.git
synced 2025-07-30 05:23:05 +03:00
Convert a preprocessor token to a string (#162)
Fixes #161 Signed-off-by: Bala.FA <bala@minio.io>
This commit is contained in:
@ -19,14 +19,15 @@
|
||||
#define MINIO_CPP_CONFIG_H_INCLUDED
|
||||
|
||||
#define MINIO_CPP_STRINGIFY(x) #x
|
||||
#define MINIO_CPP_TO_STRING(x) MINIO_CPP_STRINGIFY(x)
|
||||
|
||||
#define MINIO_CPP_MAJOR_VERSION 0
|
||||
#define MINIO_CPP_MINOR_VERSION 2
|
||||
#define MINIO_CPP_PATCH_VERSION 0
|
||||
|
||||
#define MINIO_CPP_VERSION \
|
||||
"" MINIO_CPP_STRINGIFY(MINIO_CPP_MAJOR_VERSION) "." MINIO_CPP_STRINGIFY( \
|
||||
MINIO_CPP_MINOR_VERSION) "." MINIO_CPP_STRINGIFY(MINIO_CPP_PATCH_VERSION)
|
||||
"" MINIO_CPP_TO_STRING(MINIO_CPP_MAJOR_VERSION) "." MINIO_CPP_TO_STRING( \
|
||||
MINIO_CPP_MINOR_VERSION) "." MINIO_CPP_TO_STRING(MINIO_CPP_PATCH_VERSION)
|
||||
|
||||
#if defined(_M_X64) || defined(__x86_64__)
|
||||
#define MINIO_CPP_ARCH_STRING "x86_64"
|
||||
|
Reference in New Issue
Block a user