diff options
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_list.h | 5 | ||||
-rw-r--r-- | protocols/JabberG/src/stdafx.h | 5 |
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
*******************************************************************/
|