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:
parent
27c8839f66
commit
f66b600449
|
@ -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 \
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define UNICODE
|
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
Loading…
Reference in New Issue