]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/wx-console/wxbutils.cpp
Change Groupbox name to Remote Director in Configuration page if Director is not...
[bacula/bacula] / bacula / src / wx-console / wxbutils.cpp
index dbcd3b61cda91387a1fee9159a1b2922619db8ab..1b7e9fb8eca1e209669150869a1c63f435395a33 100644 (file)
 
  */
 
+/*  Windows debug builds set _DEBUG which is used by wxWidgets to select their
+ *  debug memory allocator.  Unfortunately it conflicts with Bacula's SmartAlloc.
+ * So we turn _DEBUG off since we aren't interested in things it enables.
+ */
+
+#undef _DEBUG
+
 #include "bacula.h"
 
 #include "wxbutils.h"