Skip to content

Commit

Permalink
Fix win32 build, dont use property APIs on win32 for now
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Sep 25, 2023
1 parent 7c30b4b commit a574563
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ endif
# incompatible flags
MACHINE = $(shell $(CC) -dumpmachine)
ifneq (,$(findstring mingw,$(MACHINE)))
LDFLAGS += -lws2_32
LIBS += -liphlpapi -lws2_32
endif

ifeq (,$(findstring apple,$(MACHINE)))
Expand Down
3 changes: 3 additions & 0 deletions src/effects.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ typedef unsigned int uint;
#define dlclose(lib) FreeLibrary((HMODULE)lib)
#define setenv(...)
#define unsetenv(...)
// FIXME implement these on jackserver side
#define jack_get_property(c,p,v,t) true
#define jack_set_property(...)
#else
#include <dlfcn.h>
#endif
Expand Down

0 comments on commit a574563

Please sign in to comment.