* support/scripts/listerr.c:
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 11 Aug 2007 20:25:55 +0000 (20:25 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 11 Aug 2007 20:25:55 +0000 (20:25 +0000)
  support/Util/SDCCerr.[ch] moved to src
* support/scripts/winres.h:
  added for compilation with Visual C++ 2005 Express Edition

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4900 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
support/scripts/winres.h [new file with mode: 0644]

index 6df1a7790c912e53242303553b63fbdebdc23b0d..d9fa834a8e8d562ce2e3e889c6758423b9e6f8e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2007-08-11 Borut Razem <borut.razem AT siol.net>
 
        * support/Util/SDCCerr.c, support/Util/SDCCerr.h, src/src.dsp,
-         src/Makefile.in, src/Makefile.bcc:
+         src/Makefile.in, src/Makefile.bcc, support/scripts/listerr.c:
          support/Util/SDCCerr.[ch] moved to src
        * as/hc08/as_hc08.dsp, as/link/hc08/link_hc08.dsp,
          as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp,
@@ -9,6 +9,8 @@
          device/examples/serialcomm/windows/serialcomm.dsp,
          support/librarian/librarian.dsp:
          removed linking of unused odbc32.lib and odbccp32.lib
+       * support/scripts/winres.h:
+         added for compilation with Visual C++ 2005 Express Edition
 
 2007-08-09 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
 
diff --git a/support/scripts/winres.h b/support/scripts/winres.h
new file mode 100644 (file)
index 0000000..4064d14
--- /dev/null
@@ -0,0 +1,45 @@
+// This is a part of the Microsoft Foundation Classes C++ library.
+// Copyright (C) Microsoft Corporation
+// All rights reserved.
+//
+// This source code is only intended as a supplement to the
+// Microsoft Foundation Classes Reference and related
+// electronic documentation provided with the library.
+// See these sources for detailed information regarding the
+// Microsoft Foundation Classes product.
+
+// winres.h - Windows resource definitions
+//  extracted from WINUSER.H and COMMCTRL.H
+
+#ifdef _AFX_MINREBUILD
+#pragma component(minrebuild, off)
+#endif
+
+#define VS_VERSION_INFO     1
+
+#ifdef APSTUDIO_INVOKED
+#define APSTUDIO_HIDDEN_SYMBOLS // Ignore following symbols
+#endif
+
+#ifndef WINVER
+#define WINVER 0x0500   // default to Windows Version 4.0
+#endif
+
+#include <winresrc.h>
+
+// operation messages sent to DLGINIT
+#define LB_ADDSTRING    (WM_USER+1)
+#define CB_ADDSTRING    (WM_USER+3)
+
+#ifdef APSTUDIO_INVOKED
+#undef APSTUDIO_HIDDEN_SYMBOLS
+#endif
+
+#ifdef IDC_STATIC
+#undef IDC_STATIC
+#endif
+#define IDC_STATIC      (-1)
+
+#ifdef _AFX_MINREBUILD
+#pragma component(minrebuild, on)
+#endif