OXYGENHUB
◆ main openmsx / src / commands / tcl.hh
222 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef TCL_HH
2
#define TCL_HH
3
4
#include <tcl.h>
5
6
#if TCL_MAJOR_VERSION < 9
7
    // Tcl8 uses 'int' for list size/index
8
    // Tcl9 uses 'Tcl_Size' which is a typedef for 'ptrdiff_t'
9
    using Tcl_Size = int;
10
#endif
11
12
#endif