Don't define UNICODE in source.

svn path=/trunk/; revision=69827
This commit is contained in:
Sylvain Petreolle 2015-11-07 10:41:56 +00:00
parent 5759f02c73
commit 73b829f989
3 changed files with 4 additions and 5 deletions

View file

@ -7,6 +7,6 @@ list(APPEND SOURCE
proclist.c) proclist.c)
add_executable(gdihv ${SOURCE}) add_executable(gdihv ${SOURCE})
set_module_type(gdihv win32cui) set_module_type(gdihv win32cui UNICODE)
add_importlibs(gdihv user32 comctl32 psapi msvcrt kernel32) add_importlibs(gdihv user32 comctl32 psapi msvcrt kernel32)
add_cd_file(TARGET gdihv DESTINATION reactos/system32 FOR all) add_cd_file(TARGET gdihv DESTINATION reactos/system32 FOR all)

View file

@ -34,9 +34,9 @@ MyGdiQueryTable()
return pPeb->GdiSharedHandleTable; return pPeb->GdiSharedHandleTable;
} }
int WINAPI WinMain (HINSTANCE hThisInstance, int WINAPI _tWinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance, HINSTANCE hPrevInstance,
LPSTR lpszArgument, LPTSTR lpszArgument,
int nStyle) int nStyle)
{ {

View file

@ -1,8 +1,7 @@
#ifndef _GDIHV_H #ifndef _GDIHV_H
#define _GDIHV_H #define _GDIHV_H
#define UNICODE #include <tchar.h>
#define WIN32_NO_STATUS #define WIN32_NO_STATUS
#include <windows.h> #include <windows.h>
#include <commctrl.h> #include <commctrl.h>