raster pri fix

This commit is contained in:
Oleg Korshul
2018-08-09 17:02:41 +03:00
parent a965b30d72
commit c93989767e
4 changed files with 15 additions and 10 deletions

View File

@ -2,9 +2,6 @@
* TIFF file IO, using CxFile.
*/
#if defined(_WIN32) || defined (_WIN64)
#include <windows.h>
#endif
#include <stdio.h>
#include "ximage.h"
@ -112,7 +109,7 @@ extern char* realloc();
#include <malloc.h>
#endif
#ifndef UNICODE
#ifdef UNICODE
#define DbgPrint wvsprintf
#define DbgPrint2 wsprintf
#define DbgMsgBox MessageBox

View File

@ -41,10 +41,6 @@
#if !defined(__xfile_h)
#define __xfile_h
#if defined (WIN32) || defined (_WIN32_WCE)
#include <windows.h>
#endif
#include <stdio.h>
#include <stdlib.h>

View File

@ -75,6 +75,16 @@
#if defined(WIN32) || defined(_WIN32_WCE)
#ifdef CXIMAGE_ATTACK_NO_UNICODE
#ifdef _UNICODE
#undef _UNICODE
#endif
#ifdef UNICODE
#undef UNICODE
#endif
#endif
#include <windows.h>
#include <tchar.h>
#endif