|
From: <arj...@us...> - 2013-06-27 06:50:39
|
Revision: 12390
http://sourceforge.net/p/plplot/code/12390
Author: arjenmarkus
Date: 2013-06-27 06:50:34 +0000 (Thu, 27 Jun 2013)
Log Message:
-----------
Use an alternative header file for tchar.h, as that is not available in the
current version of Cygwin. This requires also defining the macro _T().
Modified Paths:
--------------
trunk/drivers/wingcc.c
Modified: trunk/drivers/wingcc.c
===================================================================
--- trunk/drivers/wingcc.c 2013-06-26 21:34:49 UTC (rev 12389)
+++ trunk/drivers/wingcc.c 2013-06-27 06:50:34 UTC (rev 12390)
@@ -27,7 +27,12 @@
#include <string.h>
#include <windows.h>
+#if !defined( __CYGWIN__ )
#include <tchar.h>
+#else
+#include <winnt.h>
+#define _T(a) __TEXT(a)
+#endif
#ifdef _WIN64
#define GWL_USERDATA GWLP_USERDATA
#define GCL_HCURSOR GCLP_HCURSOR
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|