Ruby 3.5.0dev (2025-04-04 revision 085cc6e43473f2a3c81311a07c1fc8efa46c118b)
serial.h
1#ifndef INTERNAL_SERIAL_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_SERIAL_H
11#include "ruby/internal/config.h" /* for HAVE_LONG_LONG */
12#include "ruby/defines.h" /* for LONG_LONG */
13
14#ifndef HAVE_LONG_LONG
15# error need C99+
16#endif
17
18typedef unsigned LONG_LONG rb_serial_t;
19#define SERIALT2NUM ULL2NUM
20#define PRI_SERIALT_PREFIX PRI_LL_PREFIX
21#define SIZEOF_SERIAL_T SIZEOF_LONG_LONG
22
23#endif /* INTERNAL_SERIAL_H */
#define LONG_LONG
Definition long_long.h:38