summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c94d2dd)
raw | patch | inline | side by side (parent: c94d2dd)
author | Erik Faye-Lund <kusmabite@googlemail.com> | |
Mon, 19 Oct 2009 15:42:05 +0000 (17:42 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 20 Oct 2009 05:17:36 +0000 (22:17 -0700) |
mmsystem.h (included from windows.h) defines DRV_OK to 1. To avoid
an error due to DRV_OK redefenition, this patch undefines the old
definition (i.e the one from mmsystem.h) before defining DRV_OK.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
an error due to DRV_OK redefenition, this patch undefines the old
definition (i.e the one from mmsystem.h) before defining DRV_OK.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c | patch | blob | history |
diff --git a/imap-send.c b/imap-send.c
index 72ed640125ec1c1305c4e714ff9dfd96f2c34435..69e614245681e86c56a50cd096a675e8dc96deec 100644 (file)
--- a/imap-send.c
+++ b/imap-send.c
unsigned int crlf:1;
};
+#undef DRV_OK
#define DRV_OK 0
#define DRV_MSG_BAD -1
#define DRV_BOX_BAD -2