home *** CD-ROM | disk | FTP | other *** search
/ Netrunner 2004 October / NETRUNNER0410.ISO / regular / ActivePerl-5.8.4.810-MSWin32-x86.msi / _1cc4418e0c4de85e165130463c66a477 < prev    next >
Encoding:
Text File  |  2004-06-01  |  1.1 KB  |  50 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.  * RCS: @(#) $Id: tkPort.h,v 1.3 2002/08/31 06:12:26 das 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. #   elif defined(MAC_OSX_TK)
  39. #    include "../macosx/tkMacOSXPort.h"
  40. #   else
  41. #       ifdef __PM__
  42. #           include "tkOS2Port.h"
  43. #       else
  44. #           include "tkUnixPort.h"
  45. #       endif
  46. #   endif
  47. #endif
  48.  
  49. #endif /* _TKPORT */
  50.