]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/parmetis/use_stdint.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / parmetis / use_stdint.patch
1 diff --git a/metis/GKlib/ms_stdint.h b/metis/GKlib/ms_stdint.h
2 index 7e200dc..0d07a7a 100644
3 --- a/metis/GKlib/ms_stdint.h
4 +++ b/metis/GKlib/ms_stdint.h
5 @@ -42,6 +42,10 @@
6
7 #include <limits.h>
8
9 +#if(_MSC_VER >= 1900)
10 + #include <stdint.h>
11 +#else
12 +
13 // For Visual Studio 6 in C++ mode wrap <wchar.h> include with 'extern "C++" {}'
14 // or compiler give many errors like this:
15 // error C2733: second C linkage of overloaded function 'wmemchr' not allowed
16 @@ -218,5 +222,6 @@ typedef uint64_t uintmax_t;
17
18 #endif // __STDC_CONSTANT_MACROS ]
19
20 +#endif
21
22 #endif // _MSC_STDINT_H_ ]