aboutsummaryrefslogtreecommitdiff
path: root/www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_Base_Types__32.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_Base_Types__32.h')
-rw-r--r--www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_Base_Types__32.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_Base_Types__32.h b/www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_Base_Types__32.h
new file mode 100644
index 000000000000..72f91a5f6717
--- /dev/null
+++ b/www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_Base_Types__32.h
@@ -0,0 +1,11 @@
+--- core/Common/DocxFormat/Source/Base/Types_32.h.orig 2021-09-30 12:13:32 UTC
++++ core/Common/DocxFormat/Source/Base/Types_32.h
+@@ -38,7 +38,7 @@
+ typedef unsigned __int16 _UINT16;
+ typedef unsigned __int32 _UINT32;
+ typedef unsigned __int64 _UINT64;
+-#elif __linux__
++#elif defined(__linux__) || defined(__FreeBSD__)
+ typedef int16_t _INT16;
+ typedef int32_t _INT32;
+ typedef int64_t _INT64;