]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/treemodel.cpp
Centralise compile checks
[xonotic/netradiant.git] / radiant / treemodel.cpp
index d5a7a54a8b6a9dda4977210b55c6976f843c872e..97d02265cf82b289dd2fbd778a0ce1f9dc16b14e 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "treemodel.h"
+#include "globaldefs.h"
 
 #include "debugging/debugging.h"
 
@@ -465,7 +466,7 @@ static void graph_tree_model_tree_model_init( GtkTreeModelIface *iface ){
 }
 
 static gboolean graph_tree_model_row_draggable( GtkTreeDragSource *drag_source, GtkTreePath *path ){
-#ifdef _DEBUG
+#if GDEF_DEBUG
        gint depth = gtk_tree_path_get_depth( path );
 #endif
        return gtk_tree_path_get_depth( path ) > 1;