aboutsummaryrefslogtreecommitdiff
path: root/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tif__config.h
blob: 1a54769585bd65014d6e10f0010e1ef00c410828 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- 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
 /*