--- libelwix/inc/elwix.h 2026/02/10 17:50:00 1.30 +++ libelwix/inc/elwix.h 2026/05/11 15:51:35 1.31.4.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: elwix.h,v 1.30 2026/02/10 17:50:00 misho Exp $ +* $Id: elwix.h,v 1.31.4.1 2026/05/11 15:51:35 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -56,7 +56,12 @@ SUCH DAMAGE. #include #include #include -#include +#ifndef __cplusplus + #include +#else + #include + #define _Atomic(X) std::atomic +#endif #ifndef __linux__ #include #include @@ -299,6 +304,10 @@ extern int elwix_Debug; #define ELWIX_DEBUG_LOCK 0x20 #define ELWIX_DEBUG_SYS 0x40 #define ELWIX_DEBUG_NET 0x80 +#define ELWIX_DEBUG_1 0x100 +#define ELWIX_DEBUG_2 0x200 +#define ELWIX_DEBUG_3 0x400 +#define ELWIX_DEBUG_4 0x800 #define ELWIX_DEBUG_ANY 0xFFFFFFFF #define EDBG(x) (elwix_Debug & (x))