re-add definition of OPENSSL_MSTR deleted from opensslv.h in macros.h
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Tue, 22 Oct 2019 11:38:16 +0000 (13:38 +0200)
committerMatt Caswell <matt@openssl.org>
Tue, 12 Nov 2019 16:12:38 +0000 (16:12 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/10236)

include/openssl/macros.h

index 0c455804054dcc0dbffee4bcab725b81d2ff70a9..8548bde542530362cda7ede405dfc778c26c1d4f 100644 (file)
 #ifndef OPENSSL_MACROS_H
 # define OPENSSL_MACROS_H
 
 #ifndef OPENSSL_MACROS_H
 # define OPENSSL_MACROS_H
 
+/* Helper macros for CPP string composition */
+# define OPENSSL_MSTR_HELPER(x) #x
+# define OPENSSL_MSTR(x) OPENSSL_MSTR_HELPER(x)
+
 /*
  * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
  * don't like that.  This will hopefully silence them.
 /*
  * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
  * don't like that.  This will hopefully silence them.