aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/platform.cpp
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2014-12-19 14:52:57 -0800
committerMartin Braun <martin.braun@ettus.com>2015-01-13 09:46:41 +0100
commit3f9ef46bc51acc5933721974e191d2a9659f6566 (patch)
tree9dc0b36ab3f9f70ce0a7d0629e1a56aa2b41aed1 /host/lib/utils/platform.cpp
parentbe5f9613311d944b8971570bff444c5af094f0f5 (diff)
downloaduhd-3f9ef46bc51acc5933721974e191d2a9659f6566.tar.gz
uhd-3f9ef46bc51acc5933721974e191d2a9659f6566.tar.bz2
uhd-3f9ef46bc51acc5933721974e191d2a9659f6566.zip
Added support for MinGW cross-compile
* Added CMake toolchain file, compatible with different versions * No dependency on MinGW runtime, all statically linked * Misc coding tweaks to allow MinGW to compile
Diffstat (limited to 'host/lib/utils/platform.cpp')
-rw-r--r--host/lib/utils/platform.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/utils/platform.cpp b/host/lib/utils/platform.cpp
index e2f92039e..a9cef663b 100644
--- a/host/lib/utils/platform.cpp
+++ b/host/lib/utils/platform.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2012 Ettus Research LLC
+// Copyright 2010-2012,2014 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
#include <uhd/config.hpp>
#include <boost/functional/hash.hpp>
#ifdef UHD_PLATFORM_WIN32
-#include <Windows.h>
+#include <windows.h>
#else
#include <unistd.h>
#endif