workaround C++ compile error

We observe compiler error on FreeBSD.  Their stdckdint.h does not
understand C++.  This shall be addressed on their side.  Unti then we
resport to our own version.

https://rubyci.s3.amazonaws.com/freebsd14/ruby-master/log/20240427T143002Z.log.html.gz
This commit is contained in:
卜部昌平 2024-04-29 03:03:50 +02:00
parent a6308ca958
commit 17a0e2ac04

View File

@ -35,6 +35,13 @@
# define RBIMPL_HAVE_STDCKDINT_H
#endif
#ifdef __cplusplus
# /* It seems OS/Compiler provided stdckdint.h tend not support C++ yet.
# * Situations could improve someday but in a meantime let us work around.
# */
# undef RBIMPL_HAVE_STDCKDINT_H
#endif
#ifdef RBIMPL_HAVE_STDCKDINT_H
# /* Take that. */
# include <stdckdint.h>