Eo: Fix windows support.
authorTom Hacohen <tom@stosb.com>
Thu, 18 Jun 2015 11:30:13 +0000 (12:30 +0100)
committerTom Hacohen <tom@stosb.com>
Thu, 18 Jun 2015 13:23:08 +0000 (14:23 +0100)
commitdb6c17627fe42d11f44b4a5f3b717b5c1cd91b31
tree6c8fd7887ea401bae6431dc7d319991343f74850
parentd85029a5c0a8605c0654b517310639a3a1b04a46
Eo: Fix windows support.

This is heavily based on a patch by Vincent Torri. I just refactored it
a bit so it doesn't break ABI on Linux, only on Windows (where it was
broken anyway).

This patch changes things so on Windows, functions are looked up only
based on their name. Because of the indirection (and export/import
tables) windows does, this is the only reasonable way to make it work.
src/lib/eo/Eo.h
src/lib/eo/eo.c