diff --git a/windows/Libyate.vcproj b/windows/Libyate.vcproj index b1478524..e841ed70 100644 --- a/windows/Libyate.vcproj +++ b/windows/Libyate.vcproj @@ -1,7 +1,7 @@ + + @@ -762,6 +766,10 @@ RelativePath="..\yateclass.h" > + + diff --git a/yatemath.h b/yatemath.h index cd18ff7c..3e9f8d88 100644 --- a/yatemath.h +++ b/yatemath.h @@ -5,7 +5,7 @@ * Math data types * * Yet Another Telephony Engine - a fully featured software PBX and IVR - * Copyright (C) 2004-2014 Null Team + * Copyright (C) 2015 Null Team * * This software is distributed under multiple licenses; * see the COPYING file in the main directory for licensing @@ -29,10 +29,17 @@ namespace TelEngine { #ifdef DEBUG +#ifdef _WINDOWS +#define YMATH_FAIL(cond,...) { \ + if (!(cond)) \ + Debug(DebugFail,__VA_ARGS__); \ +} +#else #define YMATH_FAIL(cond,args...) { \ if (!(cond)) \ Debug(DebugFail,args); \ } +#endif #else #ifdef _WINDOWS #define YMATH_FAIL do { break; } while @@ -379,7 +386,7 @@ private: * Its purpose is to offer a common interface when processing lists * @short Base class for vector class(es) */ -class MathVectorBase : public GenObject +class YATE_API MathVectorBase : public GenObject { YCLASS(MathVectorBase,GenObject) public: