From: rossb Date: Wed, 9 Dec 2009 01:42:59 +0000 (+0000) Subject: fix for bad x64 DWORD_PTR define X-Git-Tag: pa_stable_v19_20110326_r1647~196 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=ed9e516fca7b8d70b5edc4711dcd0c343f4f2414;p=portaudio fix for bad x64 DWORD_PTR define --- diff --git a/src/hostapi/dsound/pa_win_ds.c b/src/hostapi/dsound/pa_win_ds.c index 56c45ca..99a27f7 100644 --- a/src/hostapi/dsound/pa_win_ds.c +++ b/src/hostapi/dsound/pa_win_ds.c @@ -107,7 +107,11 @@ provided in newer platform sdks and x64 */ #ifndef DWORD_PTR -#define DWORD_PTR DWORD + #if defined(_WIN64) + #define DWORD_PTR unsigned __int64 + #else + #define DWORD_PTR unsigned long + #endif #endif #define PRINT(x) PA_DEBUG(x);