Code

imap-send: fix compilation-error on Windows
authorErik Faye-Lund <kusmabite@googlemail.com>
Mon, 19 Oct 2009 15:42:05 +0000 (17:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Oct 2009 05:17:36 +0000 (22:17 -0700)
commitd23b1ecf11ee48cd9e266ada06f1b8298b917e92
treeca3b7bdc8ab1514f60111e285728ee270816fa4a
parentc94d2dd0807328b1ee4aa8353382caa45bc24055
imap-send: fix compilation-error on Windows

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>
imap-send.c