Fix LTO build
[platform/upstream/expect.git] / exp_prog.h
1 /* exp_prog.h - private symbols common to both expect program and library
2
3 Written by: Don Libes, libes@cme.nist.gov, NIST, 12/3/90
4
5 Design and implementation of this program was paid for by U.S. tax
6 dollars.  Therefore it is public domain.  However, the author and NIST
7 would appreciate credit if this program or parts of it are used.
8 */
9
10 #ifndef _EXPECT_PROG_H
11 #define _EXPECT_PROG_H
12
13 #include "expect_tcl.h"
14 #include "exp_int.h"
15
16 /* yes, I have a weak mind */
17 #define streq(x,y)      (0 == strcmp((x),(y)))
18
19 /* Constant strings for NewStringObj */
20 #define LITERAL(s) Tcl_NewStringObj ((s), sizeof(s)-1)
21
22 #endif /* _EXPECT_PROG_H */