Skip to content

Commit

Permalink
fix linking on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed May 15, 2012
1 parent 0e70c4b commit c350f9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ffi.h
Expand Up @@ -7,6 +7,8 @@
#include <dlfcn.h>
#include <pthread.h>

/* define FFI_BUILDING before including ffi.h to workaround a libffi bug on Windows */
#define FFI_BUILDING
#include <ffi.h>

#include <uv.h>
Expand Down

0 comments on commit c350f9c

Please sign in to comment.