From 38b42a8f83ded6065562610b18bd4abb0f40469f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 13 Feb 2017 13:13:20 +0300 Subject: fix for broken projects --- protocols/JabberG/src/jabber_list.h | 5 +++++ protocols/JabberG/src/stdafx.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/JabberG/src') diff --git a/protocols/JabberG/src/jabber_list.h b/protocols/JabberG/src/jabber_list.h index 77c47feb8e..3b7dab0f29 100644 --- a/protocols/JabberG/src/jabber_list.h +++ b/protocols/JabberG/src/jabber_list.h @@ -28,6 +28,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "jabber_caps.h" +#define LISTFOREACH(var__, obj__, list__) \ + for (int var__ = 0; (var__ = obj__->ListFindNext(list__, var__)) >= 0; ++var__) +#define LISTFOREACH_NODEF(var__, obj__, list__) \ + for (var__ = 0; (var__ = obj__->ListFindNext(list__, var__)) >= 0; ++var__) + enum JABBER_LIST { LIST_ROSTER, // Roster list diff --git a/protocols/JabberG/src/stdafx.h b/protocols/JabberG/src/stdafx.h index e3e320f2c9..03d2128e9b 100644 --- a/protocols/JabberG/src/stdafx.h +++ b/protocols/JabberG/src/stdafx.h @@ -28,11 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #pragma warning(disable:4706 4121 4127) -#define LISTFOREACH(var__, obj__, list__) \ - for (int var__ = 0; (var__ = obj__->ListFindNext(list__, var__)) >= 0; ++var__) -#define LISTFOREACH_NODEF(var__, obj__, list__) \ - for (var__ = 0; (var__ = obj__->ListFindNext(list__, var__)) >= 0; ++var__) - /******************************************************************* * Global header files *******************************************************************/ -- cgit v1.2.3