[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MINGW build (kpathsea)
From: |
Paul Kienzle |
Subject: |
Re: MINGW build (kpathsea) |
Date: |
Tue, 24 Sep 2002 11:11:00 -0400 |
Oops! Same again as a context diff.
kpathsea/ChangeLog
Paul Kienzle <address@hidden>
* config.h: Remove MINGW32 conflicts with win32lib.h.
* c-stat.h: Ditto.
Index: c-stat.h
===================================================================
RCS file: /cvs/octave/kpathsea/c-stat.h,v
retrieving revision 1.5
diff -c -p -r1.5 c-stat.h
*** c-stat.h 1998/04/24 04:24:36 1.5
--- c-stat.h 2002/09/24 15:07:55
*************** Foundation, Inc., 59 Temple Place - Suit
*** 22,28 ****
#include <kpathsea/systypes.h>
#include <sys/stat.h>
! #ifdef WIN32
#include <kpathsea/win32lib.h>
#endif /* WIN32 */
--- 22,28 ----
#include <kpathsea/systypes.h>
#include <sys/stat.h>
! #if defined (WIN32) && !defined (__MINGW32__)
#include <kpathsea/win32lib.h>
#endif /* WIN32 */
Index: config.h
===================================================================
RCS file: /cvs/octave/kpathsea/config.h,v
retrieving revision 1.5
diff -c -p -r1.5 config.h
*** config.h 1998/04/24 04:24:36 1.5
--- config.h 2002/09/24 15:07:55
*************** Foundation, Inc., 59 Temple Place - Suit
*** 34,40 ****
#define MONOCASE_FILENAMES /* case-insensitive filename comparisons */
#endif
! #ifdef WIN32
#define __STDC__ 1
#include <kpathsea/win32lib.h>
#endif /* not WIN32 */
--- 34,44 ----
#define MONOCASE_FILENAMES /* case-insensitive filename comparisons */
#endif
! #if defined(__MINGW32__)
! #include <windows.h>
! #include <fcntl.h>
! #include <dirent.h>
! #elif defined(WIN32)
#define __STDC__ 1
#include <kpathsea/win32lib.h>
#endif /* not WIN32 */