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