fixed lib name to load

This commit is contained in:
cosmin.apreutesei 2013-12-20 17:47:22 +02:00
parent ab8d17bd4a
commit 990ede9e65
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
local ffi = require'ffi'
local bit = require'bit'
require'mysql_h'
local C = ffi.load'libmysql'
local C = ffi.load(ffi.abi'win' and 'libmysql' or 'mysql')
local M = {C = C}
--we compare NULL pointers against NULL instead of nil for compatibility with luaffi.