On Wed, Oct 19, 2011 at 10:23 AM, Luis Lavena <[email protected]> wrote: > Hello, > > While attempting to use Ruben's GCC 4.6.2 build under Windows 7 to > compile libuv [1], I found that REPARSE_DATA_BUFFER is undefined: > > gcc -Iinclude -Iinclude/uv-private -g --std=gnu89 > -D_WIN32_WINNT=0x0501 -Isrc/ares/config_win32 -o src/win/fs.o -c > src/win/fs.c > src/win/fs.c: In function 'fs__readlink': > src/win/fs.c:696:3: error: unknown type name 'REPARSE_DATA_BUFFER' > src/win/fs.c:735:19: error: 'REPARSE_DATA_BUFFER' undeclared (first > use in this function) > src/win/fs.c:735:19: note: each undeclared identifier is reported only > once for each function it appears in > src/win/fs.c:735:39: error: expected expression before ')' token > > The definition is here [2] and I found it in ddk/ntfis.h but couldn't > find a clear way to also search for ddk directory. > > 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. > > [1] https://github.com/joyent/libuv/ > [2] > http://msdn.microsoft.com/en-us/library/windows/hardware/ff552012(v=vs.85).aspx > -- > 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
