Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
9a533aa2
by Cameron Cawley at 2021-12-06T21:46:47-05:00
-
1f951898
by Cameron Cawley at 2021-12-06T23:08:46-05:00
3 changed files:
Changes:
... | ... | @@ -136,6 +136,8 @@ |
136 | 136 |
|
137 | 137 |
va_start( ap, fmt );
|
138 | 138 |
vfprintf( stderr, fmt, ap );
|
139 |
+#if ( defined( _WIN32_WINNT ) && _WIN32_WINNT >= 0x0400 ) || \
|
|
140 |
+ ( defined( _WIN32_WCE ) && _WIN32_WCE >= 0x0600 )
|
|
139 | 141 |
if ( IsDebuggerPresent() )
|
140 | 142 |
{
|
141 | 143 |
static char buf[1024];
|
... | ... | @@ -144,6 +146,7 @@ |
144 | 146 |
vsnprintf( buf, sizeof buf, fmt, ap );
|
145 | 147 |
OutputDebugStringA( buf );
|
146 | 148 |
}
|
149 |
+#endif
|
|
147 | 150 |
va_end( ap );
|
148 | 151 |
}
|
149 | 152 |
|
... | ... | @@ -159,6 +162,8 @@ |
159 | 162 |
|
160 | 163 |
va_start( ap, fmt );
|
161 | 164 |
vfprintf( stderr, fmt, ap );
|
165 |
+#if ( defined( _WIN32_WINNT ) && _WIN32_WINNT >= 0x0400 ) || \
|
|
166 |
+ ( defined( _WIN32_WCE ) && _WIN32_WCE >= 0x0600 )
|
|
162 | 167 |
if ( IsDebuggerPresent() )
|
163 | 168 |
{
|
164 | 169 |
static char buf[1024];
|
... | ... | @@ -167,6 +172,7 @@ |
167 | 172 |
vsnprintf( buf, sizeof buf, fmt, ap );
|
168 | 173 |
OutputDebugStringA( buf );
|
169 | 174 |
}
|
175 |
+#endif
|
|
170 | 176 |
va_end( ap );
|
171 | 177 |
|
172 | 178 |
exit( EXIT_FAILURE );
|
... | ... | @@ -233,6 +233,10 @@ |
233 | 233 |
dwFlagsAndAttributes, hTemplateFile );
|
234 | 234 |
}
|
235 | 235 |
|
236 |
+#endif
|
|
237 |
+ |
|
238 |
+#if defined( _WIN32_WCE ) || defined ( _WIN32_WINDOWS ) || \
|
|
239 |
+ !defined( _WIN32_WINNT ) || _WIN32_WINNT <= 0x0400
|
|
236 | 240 |
|
237 | 241 |
FT_LOCAL_DEF( BOOL )
|
238 | 242 |
GetFileSizeEx( HANDLE hFile,
|
... | ... | @@ -248,7 +252,7 @@ |
248 | 252 |
return TRUE;
|
249 | 253 |
}
|
250 | 254 |
|
251 |
-#endif /* _WIN32_WCE */
|
|
255 |
+#endif
|
|
252 | 256 |
|
253 | 257 |
|
254 | 258 |
/* documentation is in ftobjs.h */
|
... | ... | @@ -434,6 +434,10 @@ |
434 | 434 |
/>
|
435 | 435 |
</FileConfiguration>
|
436 | 436 |
</File>
|
437 |
+ <File
|
|
438 |
+ RelativePath="..\..\..\src\sdf\sdf.c"
|
|
439 |
+ >
|
|
440 |
+ </File>
|
|
437 | 441 |
<File
|
438 | 442 |
RelativePath="..\..\..\src\smooth\smooth.c"
|
439 | 443 |
>
|