Differential D33923 Diff 101572 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tif__config.h
Changeset View
Changeset View
Standalone View
Standalone View
www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tif__config.h
- This file was added.
--- core/DesktopEditor/cximage/tiff/tif_config.h.orig 2021-09-30 12:13:32 UTC | |||||
+++ core/DesktopEditor/cximage/tiff/tif_config.h | |||||
@@ -19,7 +19,7 @@ | |||||
#define HAVE_SYS_TYPES_H 1 | |||||
/* Define to 1 if you have the <io.h> header file. */ | |||||
-#ifndef _LINUX | |||||
+#if !defined(_LINUX) && !defined(__FreeBSD__) | |||||
#define HAVE_IO_H 1 | |||||
#endif | |||||
@@ -35,7 +35,7 @@ | |||||
/* The size of a `long', as computed by sizeof. */ | |||||
#define SIZEOF_LONG 4 | |||||
-#ifndef _LINUX | |||||
+#if !defined(_LINUX) && !defined(__FreeBSD__) | |||||
/* Signed 64-bit type */ | |||||
#define TIFF_INT64_T signed __int64 | |||||
@@ -43,7 +43,7 @@ | |||||
#define TIFF_UINT64_T unsigned __int64 | |||||
#endif | |||||
-#ifdef _LINUX | |||||
+#if defined(_LINUX) || defined(__FreeBSD__) | |||||
#include <inttypes.h> | |||||
/* Signed 64-bit type */ | |||||
@@ -69,7 +69,7 @@ | |||||
//# endif | |||||
//#endif | |||||
-#ifndef _LINUX | |||||
+#if !defined(_LINUX) && !defined(__FreeBSD__) | |||||
#define lfind _lfind | |||||
#endif | |||||
/* |