X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmatriz.C;h=7394abede2f06d08f9684974217fccf0f56f9d53;hb=ec5d8718c51e86b6300de5de29732634cace81d3;hp=0dfd06e36b2e8d6f2c7e898cb583af5a8c2dad46;hpb=9a3176581dc3e9aee62d908faf8d48ddb43d4cc3;p=lyx.git diff --git a/src/mathed/matriz.C b/src/mathed/matriz.C index 0dfd06e36b..7394abede2 100644 --- a/src/mathed/matriz.C +++ b/src/mathed/matriz.C @@ -1,16 +1,23 @@ #include -#include +#include // memcpy #include "matriz.h" +#ifndef CXX_GLOBAL_CSTD +using std::memcpy; +#endif + +namespace { -static inline +inline int odd(int x) { return (x & 1); } +} // namespace anon + #define mateq(m1, m2) memcpy(m1, m2, sizeof(matriz_data))