Update mirdef.h

This commit is contained in:
GGSuchao
2017-06-25 20:11:35 +08:00
parent 800c2bb1ee
commit 695c53ca91

View File

@@ -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