Remove a JE addition to one of the qm-dsp source files (no longer needed)
authorJohn Emmas <johne53@tiscali.co.uk>
Mon, 6 Feb 2017 09:47:10 +0000 (09:47 +0000)
committerJohn Emmas <johne53@tiscali.co.uk>
Mon, 6 Feb 2017 09:47:10 +0000 (09:47 +0000)
libs/pbd/pbd/msvc_pbd.h
libs/qm-dsp/dsp/wavelet/Wavelet.cpp
msvc_extra_headers/ardourext/sys/time.h.input

index 462eafc7568d0ea58c8435da94a110fbae78886d..7c981582c5d5e0c0eb7137a1952f1e93aa9300df 100644 (file)
@@ -142,7 +142,7 @@ LIBPBD_API     char*        PBD_APICALLTYPE     dlerror () __THROW;
 /* For whatever reason, Ardour's 'libevoral' refuses to build as a DLL if we include both 'rpc.h' */
 /* and 'WinSock2.h'. It doesn't seem to matter which order we #include them. Given that we can't  */
 /* edit 'rpc.h' or 'WinSock2.h', just make sure we don't #include them when building libevoral.   */
-#if !defined(BUILDING_EVORAL) && !defined(BUILDING_VAMPPLUGINS)
+#if !defined(BUILDING_EVORAL) && !defined(BUILDING_QMDSP) && !defined(BUILDING_VAMPPLUGINS)
 #include <rpc.h>
 typedef int (FAR PBDEXTN_APICALLTYPE *CYGINIT_API)(unsigned int);
 #endif
index 2196f1c914b2b14214893e93500b808d6633a858..764c84b24a2617c4a3c47d9784175defc7a3f110 100644 (file)
 
 #include <cassert>
 
-#ifdef _MSC_VER
-#pragma warning(disable:4305)
-#endif
-
 std::string
 Wavelet::getWaveletName(Type wavelet)
 {
index b989d0cd36f0a999d93532e8e38e34cffed3ac7a..1f1fde50638685f5c2d01508035ce29288cd6fce 100644 (file)
@@ -7,7 +7,7 @@
 typedef long          __suseconds_t;
 typedef __suseconds_t   suseconds_t;
 #endif
-#if !defined(BUILDING_EVORAL) && !defined(BUILDING_VAMPPLUGINS)
+#if !defined(BUILDING_EVORAL) && !defined(BUILDING_QMDSP) && !defined(BUILDING_VAMPPLUGINS)
 #include <WinSock2.h> /* gets 'struct timeval' - Changed by JE - 23-07-2013. Was formerly. . . #include <WinSock.h> */
 /* For whatever reason, Ardour's 'libevoral' refuses to build as a DLL if we include both 'rpc.h' */
 /* and 'WinSock2.h'. It doesn't seem to matter which order we #include them. Given that we can't  */