aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-09-24 11:07:14 -0700
committerJosh Blum <josh@joshknows.com>2010-09-24 11:07:14 -0700
commitf2f4840ff9e15ed21344a5a19d676d548b542e91 (patch)
treebd2832127ce9c05906184d68b74b4f7b6a8aa628 /host
parent5d6d25b49cc783ef012410064bc9eb0e66e50227 (diff)
downloaduhd-f2f4840ff9e15ed21344a5a19d676d548b542e91.tar.gz
uhd-f2f4840ff9e15ed21344a5a19d676d548b542e91.tar.bz2
uhd-f2f4840ff9e15ed21344a5a19d676d548b542e91.zip
usb: moved msvc stdint file and changed cmake conditional for msvc
Diffstat (limited to 'host')
-rw-r--r--host/lib/transport/CMakeLists.txt6
-rw-r--r--host/lib/transport/msvc/stdint.h (renamed from host/lib/transport/include/stdint.h)0
2 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/transport/CMakeLists.txt b/host/lib/transport/CMakeLists.txt
index 92c9f3181..48b6e9677 100644
--- a/host/lib/transport/CMakeLists.txt
+++ b/host/lib/transport/CMakeLists.txt
@@ -33,9 +33,9 @@ IF(LIBUSB_FOUND)
${CMAKE_SOURCE_DIR}/lib/transport/libusb1_base.hpp
${CMAKE_SOURCE_DIR}/lib/transport/libusb1_device_handle.cpp
)
- IF(WIN32) #include our custom stdint for libusb
- INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/lib/transport/include)
- ENDIF(WIN32)
+ IF(MSVC) #include our custom stdint for libusb
+ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/lib/transport/msvc)
+ ENDIF(MSVC)
SET(HAVE_USB_SUPPORT TRUE)
ENDIF(LIBUSB_FOUND)
diff --git a/host/lib/transport/include/stdint.h b/host/lib/transport/msvc/stdint.h
index b3eb61aae..b3eb61aae 100644
--- a/host/lib/transport/include/stdint.h
+++ b/host/lib/transport/msvc/stdint.h