X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/143973fc139428db2a44267f6851ab127f96a807..5fab0c8d86f7bd7015db8d0ece8ce02ba1b602d8:/src/tiff/libtiff/tif_config.h diff --git a/src/tiff/libtiff/tif_config.h b/src/tiff/libtiff/tif_config.h index ea109c769d..f85ecbe635 100644 --- a/src/tiff/libtiff/tif_config.h +++ b/src/tiff/libtiff/tif_config.h @@ -101,8 +101,30 @@ # endif #endif -#ifndef __BORLANDC__ +#if !defined (__BORLANDC__) && !defined (__WATCOMC__) #define lfind _lfind #endif -#endif \ No newline at end of file +#ifdef __DMC__ +#define HAVE_INT32 +typedef long int32; +#endif + +#ifdef _WIN32_WCE +# undef HAVE_FCNTL_H +# undef HAVE_SYS_TYPES_H + + /* + CE headers don't define these standard constants (not even underscored + versions), provide our own replacements as they seem to be only used in + libtiff own code anyhow. + */ +# define O_RDONLY 0x0000 +# define O_WRONLY 0x0001 +# define O_RDWR 0x0002 +# define O_CREAT 0x0100 +# define O_TRUNC 0x0200 +# define O_EXCL 0x0400 +#endif /* _WIN32_WCE */ + +#endif /* __APPLE__/!__APPLE__ */