Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | /* |
2 | * tkPort.h -- | |
3 | * | |
4 | * This header file handles porting issues that occur because of | |
5 | * differences between systems. It reads in platform specific | |
6 | * portability files. | |
7 | * | |
8 | * Copyright (c) 1995 Sun Microsystems, Inc. | |
9 | * | |
10 | * See the file "license.terms" for information on usage and redistribution | |
11 | * of this file, and for a DISCLAIMER OF ALL WARRANTIES. | |
12 | * | |
13 | * RCS: @(#) $Id: tkPort.h,v 1.2 1998/09/14 18:23:16 stanton Exp $ | |
14 | */ | |
15 | ||
16 | #ifndef _TKPORT | |
17 | #define _TKPORT | |
18 | ||
19 | #if defined(__WIN32__) || defined(_WIN32) | |
20 | #define NEED_REAL_STDIO | |
21 | #endif | |
22 | ||
23 | #ifndef _Lang | |
24 | #include "Lang.h" | |
25 | #endif | |
26 | ||
27 | #if defined(__WIN32__) || defined(_WIN32) | |
28 | # include "tkWinPort.h" | |
29 | # ifndef strcasecmp | |
30 | # define strcasecmp(a,b) stricmp(a,b) | |
31 | # endif | |
32 | # ifdef __CYGWIN__ | |
33 | # undef strcasecmp | |
34 | # endif | |
35 | #else | |
36 | # if defined(MAC_TCL) | |
37 | # include "tkMacPort.h" | |
38 | # else | |
39 | # ifdef __PM__ | |
40 | # include "tkOS2Port.h" | |
41 | # else | |
42 | # include "tkUnixPort.h" | |
43 | # endif | |
44 | # endif | |
45 | #endif | |
46 | ||
47 | #endif /* _TKPORT */ |