notepad: The UNICODE define isn't needed anymore; remove it.

Add the WINE_NO_UNICODE_MACROS define to prevent the AW form of
functions and types from creeping back in.
This commit is contained in:
Michael Stefaniuc 2009-05-18 21:09:25 +02:00 committed by Alexandre Julliard
parent 27c8839f66
commit f66b600449
3 changed files with 1 additions and 5 deletions

View file

@ -7,7 +7,7 @@ APPMODE = -mwindows -mno-cygwin
IMPORTS = comdlg32 shell32 shlwapi user32 gdi32 advapi32 kernel32 IMPORTS = comdlg32 shell32 shlwapi user32 gdi32 advapi32 kernel32
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
MODCFLAGS = @BUILTINFLAG@ MODCFLAGS = @BUILTINFLAG@
EXTRADEFS = -DNO_LIBWINE_PORT EXTRADEFS = -DNO_LIBWINE_PORT -DWINE_NO_UNICODE_MACROS
C_SRCS = \ C_SRCS = \
dialog.c \ dialog.c \

View file

@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#define UNICODE
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>
#include <windows.h> #include <windows.h>

View file

@ -22,8 +22,6 @@
* *
*/ */
#define UNICODE
#include <windows.h> #include <windows.h>
#include <shlwapi.h> #include <shlwapi.h>
#include <stdio.h> #include <stdio.h>