Removed @PROGEXT@ (it was broken anyway).
[wine.git] / programs / notepad / lcc.h
blob686c374d315c5b0387352d93244d42f133b01ceb
1 /*
2 * lcc.h
4 * Copyright 1999 by Marcel Baur <mbaur@g26.ethz.ch>
5 * To be distributed under the Wine license
7 * This file is only required when compiling Notepad using LCC-WIN32
8 */
10 #ifdef LCC
12 #include <assert.h>
13 #include "shellapi.h"
15 #define HANDLE HANDLE
16 #define INVALID_HANDLE_VALUE INVALID_HANDLE_VALUE
18 #define WINE_RELEASE_INFO "Compiled using LCC"
19 #define OIC_WINEICON 0
21 #ifndef LCC_HASASSERT
22 /* prevent multiple inclusion of assert methods */
24 int _assertfail(char *__msg, char *__cond, char *__file, int __line) {
26 CHAR szMessage[255];
28 strcat(szMessage, "Assert failure ");
29 strcat(szMessage, __msg);
30 strcat(szMessage, "\n");
31 strcat(szMessage, "in line ");
32 strcat(szMessage, "of file ");
33 strcat(szMessage, __line);
35 MessageBox(0, szMessage, "ERROR: ASSERT FAILURE", MB_ICONEXCLAMATION);
37 #endif
39 #endif