summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-13 13:13:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-13 13:13:20 +0300
commit38b42a8f83ded6065562610b18bd4abb0f40469f (patch)
tree2101dd8e0b11ebfe1e1acf40474e20cbbb1a1c26 /protocols/JabberG/src
parentec0c2aac4f3cbdc861c76d974c852861091113a6 (diff)
fix for broken projects
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_list.h5
-rw-r--r--protocols/JabberG/src/stdafx.h5
2 files changed, 5 insertions, 5 deletions
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
*******************************************************************/