Include the header files from include/winx: if any ordinary header file is included for which there is a corresponding header file in include/winx, include the latter also. E.g. if stdio.h has been included, then also include winx/stdiox.h, by adding the line #include <winx/stdiox.h> either in stdio.h or in your program. Compile with the define -D__GW32C__ Sometimes also header files from include/glibc are needed.
If you want to use large file support (i.e. to replace the standard 32 bits msvcrt functions by 64 bits), add the defines -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 Kees Zeelenberg ----- Oorspronkelijk bericht ----- Van: "Asier Llano Palacios" <[EMAIL PROTECTED]> Aan: <[EMAIL PROTECTED]> Verzonden: maandag 12 juli 2004 19:52 Onderwerp: [GnuWin32-Users] Patched headers for LibGW32C > Hello, > > I've read in a previous mail in this mail list that I have to patch mingw > headers to build with LibGW32C (and use -D__GW32__). But, where do I find > that patch? Is there any additional info? > > I've been looking in the "Compile" web page of gnuwin32 project, and in the > web page of the LibGW32C package and there is no information about that > patch. In the source code of that package (README file) says that a patch > must be used, but that patch is not included in the source file. > > Anyone can help me. I need some functions (Large File Support) in a program > compiled with MinGW. > > The previous mail I've read was: > http://www.mail-archive.com/[EMAIL PROTECTED]/msg00133.ht > ml > Subject: Re: [GnuWin32-Users] compile with LibGW32C ? > Date: Wed, 24 Mar 2004 10:21:53 -0800 > > Thank you very much, > Asier Llano > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > GnuWin32-Users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/gnuwin32-users > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ GnuWin32-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gnuwin32-users