commit 97bfedeebf928b55310a550ed4531b81d77c7606
parent 18f546204686f3e5c9f1af76eac6bcd802971042
Author: cfillion <cfillion@users.noreply.github.com>
Date: Sat, 5 Dec 2015 00:37:26 -0500
fix the windows build (broken since the menu was added)
Diffstat:
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Tupfile.win32 b/Tupfile.win32
@@ -8,6 +8,7 @@ CXXFLAGS += /DWDL_NO_DEFINE_MINMAX
CXXFLAGS += /DCURL_STATICLIB
LDFLAGS := /nologo vendor/libcurl/lib/libcurl_a.lib
+LDFLAGS += user32.lib
SOFLAGS := /DLL /OUT:bin/reaper_reapack.dll
LIB_TARGET = bin/reaper_reapack.dll
diff --git a/src/config.cpp b/src/config.cpp
@@ -2,7 +2,11 @@
#include "path.hpp"
+#ifdef _WIN32
+#include <windows.h>
+#else
#include <swell/swell.h>
+#endif
#include <reaper_plugin_functions.h>
diff --git a/src/menu.hpp b/src/menu.hpp
@@ -1,7 +1,11 @@
#ifndef REAPACK_MENU_HPP
#define REAPACK_MENU_HPP
+#ifdef _WIN32
+#include <windows.h>
+#else
#include <swell/swell.h>
+#endif
class Menu {
public: