#include <config.h>
#endif
-#ifdef HAVE_GNUTLS
+#ifndef HAVE_GNUTLS
+#error "This source should not be compiled without HAVE_GNUTLS defined"
+#endif
#include <rfb/CSecurityTLS.h>
-
using namespace rfb;
CSecurityTLS::CSecurityTLS() : anon_cred(0)
}
-#endif /* HAVE_GNUTLS */
#include <config.h>\r
#endif\r
\r
-#ifdef HAVE_GNUTLS\r
+#ifndef HAVE_GNUTLS\r
+#error "This header should not be included without HAVE_GNUTLS defined"\r
+#endif\r
\r
#include <rfb/CSecurityTLSBase.h>\r
#include <rfb/SSecurityVeNCrypt.h>\r
};\r
}\r
\r
-#endif /* HAVE_GNUTLS */\r
-\r
#endif /* __C_SECURITY_TLS_H__ */\r
#include <config.h>
#endif
-#ifdef HAVE_GNUTLS
+#ifndef HAVE_GNUTLS
+#error "This header should not be compiled without HAVE_GNUTLS defined"
+#endif
#include <rfb/CSecurityTLSBase.h>
#include <rfb/CConnection.h>
return true;
}
-#endif /* HAVE_GNUTLS */
#include <config.h>\r
#endif\r
\r
-#ifdef HAVE_GNUTLS\r
+#ifndef HAVE_GNUTLS\r
+#error "This header should not be compiled without HAVE_GNUTLS defined"\r
+#endif\r
\r
#include <rfb/CSecurity.h>\r
#include <rfb/Security.h>\r
};\r
}\r
\r
-#endif /* HAVE_GNUTLS */\r
-\r
#endif\r