1999-02-14 11:28:37 +00:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
|
1999-03-14 13:54:51 +00:00
|
|
|
#include <assert.h>
|
1999-02-14 11:28:37 +00:00
|
|
|
#include "shellapi.h"
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
#define HANDLE HANDLE
|
|
|
|
#define INVALID_HANDLE_VALUE INVALID_HANDLE_VALUE
|
1999-02-14 11:28:37 +00:00
|
|
|
|
|
|
|
#define WINE_RELEASE_INFO "Compiled using LCC"
|
2001-01-20 02:48:30 +00:00
|
|
|
#define OIC_WINLOGO 0
|
1999-02-14 11:28:37 +00:00
|
|
|
|
|
|
|
#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
|