Files
loongoffice/external/libexttextcat/exttextcat-msvc-stdint.patch
Khaled Hosny 36b554e965 fdo#70393: move libexttextcat to a subdir of external
Change-Id: Id4c27e0ed7ef31e0217a82160e18cc1b8e5858f7
Reviewed-on: https://gerrit.libreoffice.org/6329
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-10-19 07:34:08 +00:00

22 lines
474 B
Diff

--- foo/foo/src/common.h
+++ foo/foo/src/common.h
@@ -45,18 +45,7 @@
{
#endif
-#ifdef _MSC_VER
- typedef __int8 int8_t;
- typedef unsigned __int8 uint8_t;
- typedef __int16 int16_t;
- typedef unsigned __int16 uint16_t;
- typedef __int32 int32_t;
- typedef unsigned __int32 uint32_t;
- typedef __int64 int64_t;
- typedef unsigned __int64 uint64_t;
-#else
# include <stdint.h>
-#endif
typedef uint32_t uint4;
typedef uint16_t uint2;