From be5d6337246390e4e213a2241af91dd8481d9004 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Sun, 24 Apr 2005 22:12:49 +0000 Subject: [PATCH] Fixes to make wx-console compatible with wxWidgets 2.6.0. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1955 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/baconfig.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bacula/src/baconfig.h b/bacula/src/baconfig.h index d6e675bc90..5cda012fd1 100644 --- a/bacula/src/baconfig.h +++ b/bacula/src/baconfig.h @@ -442,8 +442,10 @@ int m_msg(const char *file, int line, POOLMEM *&pool_buf, const char *fmt, ...) /* Use our strdup with smartalloc */ +#ifndef __WXGTK__ #undef strdup #define strdup(buf) bad_call_on_strdup_use_bstrdup(buf) +#endif /* Use our fgets which handles interrupts */ #undef fgets -- 2.39.5