Set compiler check: make sure MASTER and SLAVE defines are not set at the same time.
This commit is contained in:
		@@ -56,11 +56,13 @@ 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"
 | 
			
		||||
#endif	
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user