On Wed, Oct 19, 2011 at 10:45 AM, Luis Lavena <[email protected]> wrote:
> On Wed, Oct 19, 2011 at 9:32 AM, Ozkan Sezer <[email protected]> wrote:
>> On Wed, Oct 19, 2011 at 10:23 AM, Luis Lavena <[email protected]> wrote:
>>>
>>> I'm missing a way to trigger the inclusion of DDK?
>>
>> Doing #include <ntifs.h> in your *.c and -I[somepath]/ddk in
>> your CFLAGS or something?
>>
>
> Thank you,
>
> Problem with that is means I would have to hardcode a path into the
> Makefile that only applies to my environment.
>
> But, perhaps is the only alternative.

You can use some environment variables pointing to the
ddk headers path, and in your Makefile you can do, like:

ifeq ($(DDK_PATH),)
DDK_PATH=someplace
endif
CFLAGS+=-I$(DDK_PATH)

>
> Thank you.
>
> --
> Luis Lavena
> AREA 17
> -
> Perfection in design is achieved not when there is nothing more to add,
> but rather when there is nothing more to take away.
> Antoine de Saint-Exupéry

--
O.S.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to