lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>As a precis, I add the following to lua.h for the basic library:
>
>#ifdef _WIN32
>#define EXPORT __declspec(dllexport)
>#else
>#define EXPORT
>#endif
>
>

A few weeks ago, I downloaded Lua 3.1. Built a dll project using MSVC++ 4.2
dll wizard, and included all the *.c files in the offical release, defined
EXPORT as exactly what you did. No changes on any *.c file. Everything just
works fine. Lua is great.

Gang Wang