lua-users home
lua-l archive

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


On 20.02.2013 22:33, Luiz Henrique de Figueiredo wrote:
Then I added


#ifndef _WIN32
#define __cdecl
#endif

static void __cdecl laction (int i) {
____________+++++++

Why is this needed?

Because signal handlers require it:

  http://msdn.microsoft.com/en-us/library/xdkz3x12%28v=vs.71%29.aspx

If so, why now and not before?

It was in 5.2.1 too.
As a late adopter, I didn't care mention. Yet on day one...