Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5d5f36f7
Commit
5d5f36f7
authored
Feb 20, 2002
by
Andriy Palamarchuk
Committed by
Alexandre Julliard
Feb 20, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- made notepad compile with Cygwin
- made changes to the precompiler directives to check for specific features instead of checking for the environment version.
parent
8513907f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
52 deletions
+9
-52
dialog.c
programs/notepad/dialog.c
+0
-8
lcc.h
programs/notepad/lcc.h
+0
-39
main.c
programs/notepad/main.c
+0
-4
main.h
programs/notepad/main.h
+9
-1
No files found.
programs/notepad/dialog.c
View file @
5d5f36f7
...
...
@@ -16,14 +16,6 @@
#include "language.h"
#include "dialog.h"
#ifdef LCC
#define LCC_HASASSERT
#include "lcc.h"
#else
#include "wine/version.h"
#include "winnls.h"
#endif
static
LRESULT
WINAPI
DIALOG_PAGESETUP_DlgProc
(
HWND
hDlg
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
...
...
programs/notepad/lcc.h
deleted
100644 → 0
View file @
8513907f
/*
* lcc.h
*
* Copyright 1999 by Marcel Baur <mbaur@g26.ethz.ch>
* To be distributed under the Wine license
*
* This file is only required when compiling Notepad using LCC-WIN32
*/
#ifdef LCC
#include <assert.h>
#include "shellapi.h"
#define HANDLE HANDLE
#define INVALID_HANDLE_VALUE INVALID_HANDLE_VALUE
#define WINE_RELEASE_INFO "Compiled using LCC"
#define OIC_WINLOGO 0
#ifndef LCC_HASASSERT
/* prevent multiple inclusion of assert methods */
int
_assertfail
(
char
*
__msg
,
char
*
__cond
,
char
*
__file
,
int
__line
)
{
CHAR
szMessage
[
255
];
strcat
(
szMessage
,
"Assert failure "
);
strcat
(
szMessage
,
__msg
);
strcat
(
szMessage
,
"
\n
"
);
strcat
(
szMessage
,
"in line "
);
strcat
(
szMessage
,
"of file "
);
strcat
(
szMessage
,
__line
);
MessageBox
(
0
,
szMessage
,
"ERROR: ASSERT FAILURE"
,
MB_ICONEXCLAMATION
);
}
#endif
#endif
programs/notepad/main.c
View file @
5d5f36f7
...
...
@@ -25,10 +25,6 @@
#include <stdio.h>
#include "windows.h"
#ifdef LCC
#include "lcc.h"
#endif
#include "main.h"
#include "license.h"
#include "dialog.h"
...
...
programs/notepad/main.h
View file @
5d5f36f7
...
...
@@ -11,13 +11,21 @@
#define HELPFILE "notepad.hlp"
#define LOGPREFIX ".LOG"
#define DEFAULTICON OIC_WINLOGO
/* hide the following from winerc */
#ifndef RC_INVOKED
#define WINE_RELEASE_INFO "Wine (www.winehq.com)"
#include "commdlg.h"
/***** Compatibility *****/
#ifndef OIC_WINLOGO
#define OIC_WINLOGO 32517
#endif
#define DEFAULTICON OIC_WINLOGO
typedef
struct
{
HANDLE
hInstance
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment