Skip to content

Commit

Permalink
Improved VC++ build result
Browse files Browse the repository at this point in the history
  • Loading branch information
alexd committed Oct 20, 2010
1 parent f3463e3 commit eaa8c06
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion VisualStudio2010_setup.txt
Expand Up @@ -2,4 +2,9 @@
2) C++ preprocessor - undefine UNICODE;_UNICODE for all configs
3) C++ preprocessor - define NO_RICH_EDIT, USE_RICH_EDIT depending on build config
4) Resources preprocessor - define NO_RICH_EDIT, USE_RICH_EDIT depending on build config


Release builds (ensure linking dynamically with OS copy of msvcrt.dll):

5) Install the Windows DDK
6) Add DDK lib to front of Library Directories (e.g., C:\WinDDK\7600.16385.1\lib\Crt\i386;)
7) Disable _ftol2_sse by adding "/QIfist" to Additional Options under C/C++ Command Line
2 changes: 1 addition & 1 deletion metapad.rc
Expand Up @@ -307,7 +307,7 @@ BEGIN
124,58,16
EDITTEXT IDC_EDIT_TRANSPARENT,184,126,24,12,ES_CENTER |
ES_AUTOHSCROLL
CONTROL "Use cl&assic toolbar style",
CONTROL "Use def&ault toolbar style",
IDC_FLAT_TOOLBAR,"Button",BS_AUTOCHECKBOX | BS_MULTILINE |
WS_TABSTOP,16,145,176,9
END
Expand Down
4 changes: 3 additions & 1 deletion w32crt.h
Expand Up @@ -84,6 +84,7 @@ int __cdecl tolower(int c)
return c - 'A' + 'a';
}
*/
/*
char* __cdecl strchr(const char* str, int ch)
{
while (*str != '\0') {
Expand All @@ -107,4 +108,5 @@ char* __cdecl strrchr(const char* str, int ch)
str--;
}
return NULL;
}
}
*/

0 comments on commit eaa8c06

Please sign in to comment.