mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-08 23:13:38 +08:00
Update mirdef.h
This commit is contained in:
@@ -3,6 +3,13 @@
|
|||||||
* For C++ build of library
|
* For C++ build of library
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef HEADER_MIRDEF_H
|
||||||
|
#define HEADER_MIRDEF_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"{
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MR_LITTLE_ENDIAN
|
#define MR_LITTLE_ENDIAN
|
||||||
#define MIRACL 64
|
#define MIRACL 64
|
||||||
#define mr_utype long
|
#define mr_utype long
|
||||||
@@ -14,3 +21,9 @@
|
|||||||
#define MAXBASE ((mr_small)1<<(MIRACL-1))
|
#define MAXBASE ((mr_small)1<<(MIRACL-1))
|
||||||
#define MR_BITSINCHAR 8
|
#define MR_BITSINCHAR 8
|
||||||
#define MR_CPP
|
#define MR_CPP
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user