| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
#ifndef _TCLPORT |
| 17 |
#define _TCLPORT |
| 18 |
|
| 19 |
#include "tcl.h" |
| 20 |
|
| 21 |
#if defined(__WIN32__) |
| 22 |
# include "../win/tclWinPort.h" |
| 23 |
#else |
| 24 |
# if defined(MAC_TCL) |
| 25 |
# include "tclMacPort.h" |
| 26 |
# else |
| 27 |
# include "../unix/tclUnixPort.h" |
| 28 |
# endif |
| 29 |
#endif |
| 30 |
|
| 31 |
#if !defined(LLONG_MIN) |
| 32 |
# ifdef TCL_WIDE_INT_IS_LONG |
| 33 |
# define LLONG_MIN LONG_MIN |
| 34 |
# else |
| 35 |
# ifdef LLONG_BIT |
| 36 |
# define LLONG_MIN ((Tcl_WideInt)(Tcl_LongAsWide(1)<<(LLONG_BIT-1))) |
| 37 |
# else |
| 38 |
|
| 39 |
# define LLONG_MIN ((Tcl_WideInt)(Tcl_LongAsWide(1)<<63)) |
| 40 |
# endif |
| 41 |
# endif |
| 42 |
|
| 43 |
# define LLONG_MAX (~LLONG_MIN) |
| 44 |
#endif |
| 45 |
|
| 46 |
|
| 47 |
#endif |