aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ClockTAI.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClockTAI.cpp b/src/ClockTAI.cpp
index 787f1f7..afd8025 100644
--- a/src/ClockTAI.cpp
+++ b/src/ClockTAI.cpp
@@ -183,6 +183,8 @@ int ClockTAI::download_tai_utc_bulletin(const char* url)
/* always cleanup */
curl_easy_cleanup(curl);
}
+#else
+ throw std::runtime_error("Cannot download TAI Clock information without cURL");
#endif // HAVE_CURL
return r;
}