aboutsummaryrefslogtreecommitdiff
path: root/freetype/builds/wince/ftdebug.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-12-22 14:14:24 +0000
committermarha <marha@users.sourceforge.net>2009-12-22 14:14:24 +0000
commit4284aeba874b9168f2228c59639bec8346a56796 (patch)
treed51ffb4507e0cae24b0875d8bb6b2c037829a684 /freetype/builds/wince/ftdebug.c
parentc438f190eedc71ee8dd14e14fec660e98d3dc0bf (diff)
parent0695dfb71ca6fe132d15a4d0890e8a868183adf9 (diff)
downloadvcxsrv-4284aeba874b9168f2228c59639bec8346a56796.tar.gz
vcxsrv-4284aeba874b9168f2228c59639bec8346a56796.tar.bz2
vcxsrv-4284aeba874b9168f2228c59639bec8346a56796.zip
svn merge ^/branches/released
Diffstat (limited to 'freetype/builds/wince/ftdebug.c')
-rw-r--r--freetype/builds/wince/ftdebug.c22
1 files changed, 5 insertions, 17 deletions
diff --git a/freetype/builds/wince/ftdebug.c b/freetype/builds/wince/ftdebug.c
index 8f7a9ab07..c6f6dd0fe 100644
--- a/freetype/builds/wince/ftdebug.c
+++ b/freetype/builds/wince/ftdebug.c
@@ -2,9 +2,9 @@
/* */
/* ftdebug.c */
/* */
-/* Debugging and logging component for Win32 (body). */
+/* Debugging and logging component for WinCE (body). */
/* */
-/* Copyright 1996-2001, 2002, 2005, 2008 by */
+/* Copyright 1996-2001, 2002, 2005, 2008, 2009 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -42,7 +42,7 @@
#include <ft2build.h>
-#include FT_INTERNAL_DEBUG_H
+#include <freetype/internal/ftdebug.h>
#ifdef FT_DEBUG_LEVEL_ERROR
@@ -55,8 +55,6 @@
#include <windows.h>
-#ifdef _WIN32_WCE
-
void
OutputDebugStringEx( const char* str )
{
@@ -71,12 +69,6 @@
OutputDebugStringW( buf );
}
-#else
-
-#define OutputDebugStringEx OutputDebugStringA
-
-#endif
-
FT_BASE_DEF( void )
FT_Message( const char* fmt, ... )
@@ -149,19 +141,15 @@
FT_BASE_DEF( void )
ft_debug_init( void )
{
-#ifdef _WIN32_WCE
-
/* Windows Mobile doesn't have environment API: */
/* GetEnvironmentStrings, GetEnvironmentVariable, getenv. */
/* */
/* FIXME!!! How to set debug mode? */
- const char* ft2_debug = 0;
-#else
+ /* const char* ft2_debug = getenv( "FT2_DEBUG" ); */
- const char* ft2_debug = getenv( "FT2_DEBUG" );
+ const char* ft2_debug = 0;
-#endif
if ( ft2_debug )
{