* make backtrace optional.
[citadel.git] / citadel / ecrash.c
index 2c04fe97e6bdc273af1a617ffed23acb2c71f1ce..f67e6776232243ec0b34bdb7d566476ece301580 100644 (file)
@@ -27,7 +27,7 @@
 #include "ecrash.h"
 
 #define NIY()  printf("%s: Not Implemented Yet!\n", __FUNCTION__)
-
+#ifdef HAVE_BACKTRACE
 static eCrashParameters gbl_params;
 static int gbl_fd=-1;
 
@@ -644,3 +644,4 @@ int eCrash_UnregisterThread( void )
        return removeThreadFromList(pthread_self());
 } /* eCrash_UnregisterThread */
 
+#endif