gnucash master: Drop superfluous check for threads library

Geert Janssens gjanssens at code.gnucash.org
Sat Jun 6 18:13:06 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/310354d1 (commit)
	from  https://github.com/Gnucash/gnucash/commit/c09ef9ee (commit)



commit 310354d13f440f45e5f1b4b225943367a0b2e69f
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Jun 7 00:12:15 2020 +0200

    Drop superfluous check for threads library
    
    This is already checked by our CMake configuration.

diff --git a/gnucash/gnucash-core-app.cpp b/gnucash/gnucash-core-app.cpp
index a7bd13457..a101e107b 100644
--- a/gnucash/gnucash-core-app.cpp
+++ b/gnucash/gnucash-core-app.cpp
@@ -464,9 +464,6 @@ redirect_stdout (void)
 
 Gnucash::CoreApp::CoreApp ()
 {
-    #if !defined(G_THREADS_ENABLED) || defined(G_THREADS_IMPL_NONE)
-    #    error "No GLib thread implementation available!"
-    #endif
     #ifdef ENABLE_BINRELOC
     {
         GError *binreloc_error = NULL;



Summary of changes:
 gnucash/gnucash-core-app.cpp | 3 ---
 1 file changed, 3 deletions(-)



More information about the gnucash-changes mailing list