lua-users home
lua-l archive

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


It looks like the Xbox compiler defines _WIN32, but defines none of XBOX
xbox Xbox XBox _XBOX _Xbox _XBox _xbox __XBOX__ __xbox__ __Xbox__ __XBox__
...


-----Message d'origine-----
De : Luiz Henrique de Figueiredo [mailto:lhf@tecgraf.puc-rio.br]
Envoyé : mercredi 2 avril 2003 16:00
À : Multiple recipients of list
Objet : RE: [ANNOUNCE] Lua 5.0 (pre-release) now available


>w:\lua-5.0\src\lib\loadlib.c(88) : fatal error C1083: Cannot open include
>file: 'windows.h': No such file or directory
>
>Indeed, the Xbox SDK doesn't have a windows.h

But somehow one of these are defined: _WIN32, __WIN32__ , WIN32.
We thought these identified Windows systems and no others...
Is your code somehow defining them?

>Not that I think I'm going to need that particular library though.

So define USE_LOADLIB to be 0.

Thanks for the report.
--lhf