lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Missing a flag?
From
: steve donovan <steve.j.donovan@
...
>
Date
: Tue, 16 Apr 2013 09:27:01 +0200
On Tue, Apr 16, 2013 at 9:08 AM, Thijs Schreijer
<
thijs@thijsschreijer.nl
>
wrote:
Or should I just define my own BOOL? (and TRUE and FALSE along with it)
You can use the defines field, alongside the sources field, with something like defines={'BOOL=int','TRUE=1','FALSE=0'}
t's all here in terrifying detail:
http://luarocks.org/en/Rockspec_format
(see 'builtin' build type)
But that's going to be a per-platform override: basic issue is that <windows.h> defines these for you, so it's probably best to use an #ifndef WIN32 and define them in the source.
Follow-Ups
:
RE: Missing a flag?
,
Thijs Schreijer
References
:
Missing a flag?
,
Thijs Schreijer
Prev by Date:
Missing a flag?
Next by Date:
Re: Missing a flag?
Previous by thread:
Missing a flag?
Next by thread:
RE: Missing a flag?
Index(es):
Date
Thread