Tcl Source Code

Artifact [0b1f1b0022]
Login

Artifact 0b1f1b0022d701bcdf312520d7b5766c6b2c75e2:

Attachment "patch3.txt" to ticket [442178ffff] added by davygrvy 2001-07-18 07:28:03.
*** tclPlatDecls.h	2000/08/20 03:51:23	1.6
--- tclPlatDecls.h	2001/07/18 00:26:37
***************
*** 13,24 ****
  #define _TCLPLATDECLS
  
  /*
!  *  Pull in the definition of TCHAR.  Hopefully the compile flags
   *  of the core are matching against your project build for these
!  *  public functions.  BE AWARE.
   */
! #if defined(__WIN32__) && !defined(_INC_TCHAR)
! #include <tchar.h>
  #endif
  
  /* !BEGIN!: Do not edit below this line. */
--- 13,31 ----
  #define _TCLPLATDECLS
  
  /*
!  *  Pull in the typedef of TCHAR.  Hopefully the compile flags
   *  of the core are matching against your project build for these
!  *  public functions with respect to _UNICODE and _MCBS.  BE AWARE.
   */
! 
! #if defined(__WIN32__)
! #   if defined(__CYGWIN__)
! #	define WIN32_LEAN_AND_MEAN
! #	include <windows.h>
! #	undef  WIN32_LEAN_AND_MEAN
! #   elif !defined(_INC_TCHAR)
! #	include <tchar.h>
! #   endif
  #endif
  
  /* !BEGIN!: Do not edit below this line. */