home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Editores / Perl5 / perl / lib / site / Tk / pTk / tkPort.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-10  |  924 b   |  45 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) 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.  * SCCS: @(#) tkPort.h 1.7 96/02/11 16:42:10
  14.  */
  15.  
  16. #ifndef _TKPORT
  17. #define _TKPORT
  18.  
  19. #ifndef _Lang
  20. #include "Lang.h"
  21. #endif
  22.  
  23. #ifndef _TK
  24. #include "tk.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. #else
  33. #   if defined(MAC_TCL)
  34. #    include "tkMacPort.h"
  35. #   else
  36. #       ifdef __PM__
  37. #           include "tkOS2Port.h"
  38. #       else
  39. #           include "tkUnixPort.h"
  40. #       endif
  41. #   endif
  42. #endif
  43.  
  44. #endif /* _TKPORT */
  45.