Skip to contentSkip to conversation

Redundant #define

PATCH In review Consul 2 participants 2 messages Apr 30, 2009 – May 1, 2009

lore
Share & tools
lore

Consul

author
#0 lore raw

PATCH 1/1 Redundant #define

Suppress a warning
audio/dsoundaudio.c:35:1: warning: "WIN32_LEAN_AND_MEAN" redefined <command line>:4:1: warning: this is the location of the previous definition

Signed-off-by Alex Ivanov <[email protected]>
---

audio/dsoundaudio.c +0 -1
index df4b2f0..a78c856 100644
@@ -32,7 +32,6 @@
 #define AUDIO_CAP "dsound"
 #include "audio_int.h"
 
-#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #include <mmsystem.h>
 #include <objbase.h>
#1 lore raw
Quoted 5 lines · Consul

Suppress a warning
audio/dsoundaudio.c:35:1: warning: "WIN32_LEAN_AND_MEAN" redefined <command line>:4:1: warning: this is the location of the previous definition

Signed-off-by Alex Ivanov <[email protected]>

I've took the liberty of changing the subject and adding colon after Sob and commited it that way, thanks.

Signature · 1 line
mailto:[email protected]