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