commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r3608 - gnuradio/trunk/usrp/host/lib


From: eb
Subject: [Commit-gnuradio] r3608 - gnuradio/trunk/usrp/host/lib
Date: Thu, 21 Sep 2006 23:30:26 -0600 (MDT)

Author: eb
Date: 2006-09-21 23:30:26 -0600 (Thu, 21 Sep 2006)
New Revision: 3608

Modified:
   gnuradio/trunk/usrp/host/lib/usrp_prims.cc
Log:
applied supplied patch to close ticket:70

Modified: gnuradio/trunk/usrp/host/lib/usrp_prims.cc
===================================================================
--- gnuradio/trunk/usrp/host/lib/usrp_prims.cc  2006-09-22 04:05:02 UTC (rev 
3607)
+++ gnuradio/trunk/usrp/host/lib/usrp_prims.cc  2006-09-22 05:30:26 UTC (rev 
3608)
@@ -244,12 +244,13 @@
     abort ();
   }
 
-#if defined(WIN32)
+#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
   // There's no get get_configuration function, and with some of the newer 
kernels
   // setting the configuration, even if to the same value, hoses any other 
processes
   // that have it open.  Hence we opt to not set it at all (We've only
   // got a single configuration anyway).  This may hose the win32 stuff...
 
+  // Appears to be required for libusb-win32 and Cygwin -- dew 09/20/06
   if (usb_set_configuration (udh, 1) < 0){
     /*
      * Ignore this error.  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]