Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Commit

Permalink
jank support for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Skrylar committed Jan 26, 2019
1 parent d02e5cc commit 300d727
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/jaq.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#include "skjack.hh"

#ifndef ARCH_WIN
#include <dlfcn.h>
#else
#include <windows.h>
#define dlopen(x, y) LoadLibraryA(x)
#define dlsym(x, y) GetProcAddressA(x, y)
#endif

namespace jaq {

Expand Down

0 comments on commit 300d727

Please sign in to comment.