]> code.citadel.org Git - citadel.git/blobdiff - citadel/citadel.h
Third try. :(
[citadel.git] / citadel / citadel.h
index f646fae3c2e652e2f0358a5880f8fffe95db65b2..ed2db509f664d530fe0e13b1df6acc1b37dc8d12 100644 (file)
@@ -55,6 +55,12 @@ extern "C" {
 #define SERVER_TYPE 0                  /* zero for stock Citadel; other developers please
                                           obtain SERVER_TYPE codes for your implementations */
 
+#ifdef LIBCITADEL_VERSION_NUMBER
+#if LIBCITADEL_VERSION_NUMBER < LIBCITADEL_MIN
+#error libcitadel is too old.  Please upgrade it before continuing.
+#endif
+#endif
+
 /* Various length constants */
 
 #define UGLISTLEN      100     /* you get a ungoto list of this size */