Skip to content

Commit

Permalink
Merge pull request IntelRealSense#2254 from dorodnic/win7_support
Browse files Browse the repository at this point in the history
Adding #ifdef RS2_USE_WINUSB_UVC_BACKEND to winusb_uvc.cpp
  • Loading branch information
dorodnic authored Aug 16, 2018
2 parents d963d8f + 658ab64 commit 7ff411a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/win7/winusb_uvc/winusb_uvc.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// winusb_uvc.cpp : Defines the entry point for the console application.
//

#ifdef RS2_USE_WINUSB_UVC_BACKEND

#define NOMINMAX
#include "windows.h"
#include "SETUPAPI.H"
Expand Down Expand Up @@ -2295,3 +2298,5 @@ bool read_all_uvc_descriptors(winusb_uvc_device *device, PUCHAR buffer, ULONG bu

return 0;
}

#endif

0 comments on commit 7ff411a

Please sign in to comment.