Set compiler check: make sure MASTER and SLAVE defines are not set at the same time.

This commit is contained in:
Gerhard Hoffmann 2023-12-18 12:11:45 +01:00
parent cb403b5dbb
commit e7538ae5df

View File

@ -56,7 +56,9 @@ hwapi::hwapi(QWidget *parent) : QObject(parent)
myDatif = new T_datif(); // für die CAslave-Lib auskommentieren!
#else
#endif
#ifdef THIS_IS_CA_SLAVE
#ifdef THIS_IS_CA_MASTER
#error "MASTER LIB COMPILED INTO MASTER"