home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tk42r2x.zip / TclTk / lib / tkPort.h < prev   
C/C++ Source or Header  |  1999-07-27  |  907b  |  42 lines

  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) 1996-1998 Illya Vaes
  9.  * Copyright (c) 1995 Sun Microsystems, Inc.
  10.  *
  11.  * See the file "license.terms" for information on usage and redistribution
  12.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  13.  *
  14.  * SCCS: @(#) tkPort.h 1.7 96/02/11 16:42:10
  15.  */
  16.  
  17. #ifndef _TKPORT
  18. #define _TKPORT
  19.  
  20. #ifndef _TK
  21. #include "tk.h"
  22. #endif
  23. #ifndef _TCL
  24. #include "tcl.h"
  25. #endif
  26.  
  27. #if defined(__WIN32__) || defined(_WIN32)
  28. #   include "tkWinPort.h"
  29. #else
  30. #   if defined(MAC_TCL)
  31. #      include "tkMacPort.h"
  32. #   else
  33. #      if (defined(__OS2__) || defined(__EMX__))
  34. #         include "tkOS2Port.h"
  35. #      else
  36. #         include "tkUnixPort.h"
  37. #      endif
  38. #   endif
  39. #endif
  40.  
  41. #endif /* _TKPORT */
  42.