Commit 9a33361a authored by Oleg Korshul's avatar Oleg Korshul

crypropp MAC define disable (onlyoffice build for macOS)

parent 0e2d9bb2
#ifndef CRYPTOPP_GFPCRYPT_H #ifndef CRYPTOPP_GFPCRYPT_H
#define CRYPTOPP_GFPCRYPT_H #define CRYPTOPP_GFPCRYPT_H
#ifdef MAC
#define TEMP_MAC
#undef MAC
#endif
/** \file /** \file
Implementation of schemes based on DL over GF(p) Implementation of schemes based on DL over GF(p)
*/ */
...@@ -633,4 +638,8 @@ NAMESPACE_END ...@@ -633,4 +638,8 @@ NAMESPACE_END
# pragma warning(pop) # pragma warning(pop)
#endif #endif
#ifdef TEMP_MAC
#define MAC
#endif
#endif #endif
...@@ -11,6 +11,10 @@ PWD_ROOT_DIR = $$PWD ...@@ -11,6 +11,10 @@ PWD_ROOT_DIR = $$PWD
include(../../../../Common/base.pri) include(../../../../Common/base.pri)
core_mac {
DEFINES -= MAC
}
core_windows { core_windows {
DEFINES -= UNICODE DEFINES -= UNICODE
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment