From 97c57b5f9ae182dff0b2201e01b046621c7b9f36 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sat, 30 Oct 2004 03:17:47 +0000
Subject: [PATCH] missing #ifdef HAVE_FLTK

---
 Plugin/StructuralSolver.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Plugin/StructuralSolver.cpp b/Plugin/StructuralSolver.cpp
index 4f4bbf9634..1eea1bd5d6 100644
--- a/Plugin/StructuralSolver.cpp
+++ b/Plugin/StructuralSolver.cpp
@@ -435,10 +435,12 @@ Structural_Material StructuralSolver :: GetMaterial (const std::string & name) c
 #define ACROSS_ 1
 #define AROUND_ 2
 
+#ifdef HAVE_FLTK 
 void close_cb(Fl_Widget* w, void* data)
 {
   if(data) ((Fl_Window *) data)->hide();
 }
+#endif
 
 void StructuralSolver ::popupPropertiesForPhysicalEntity (int dim)
 { 
-- 
GitLab