From 3926fbb84eae798cad422ecd5c1ba23f1321a7aa Mon Sep 17 00:00:00 2001 From: gstellenberg Date: Fri, 12 Jun 2009 10:03:18 -0500 Subject: [PATCH] Resolved a number of build issues with WIN32 builds --- src/PRHardware.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/PRHardware.cpp b/src/PRHardware.cpp index 9d2b35f..c698e7c 100644 --- a/src/PRHardware.cpp +++ b/src/PRHardware.cpp @@ -240,8 +240,12 @@ int32_t CreateDMDUpdateConfigBurst ( uint32_t * burst, PRDMDConfig *dmd_config) * As we add support for other drivers (such as D2xx on Windows), we will add more implementations of the PRHardware*() functions here. */ +#if defined(__WIN32__) + #define USE_D2XX 1 +#endif + #if !defined(USE_D2XX) -#define USE_LIBFTDI 1 + #define USE_LIBFTDI 1 #endif #if USE_LIBFTDI