Integrating Ralf's rebase into setup.exe

Jason Tishler jason@tishler.net
Tue Jan 21 21:22:00 GMT 2003


Ralf,

On Sat, Jan 04, 2003 at 12:16:57AM +0100, Ralf Habacker wrote:
> This seems mostly to be fixed in the recent cvs release.

The attached patch enables libimagehelper.a to be usable by C source
too.

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6
-------------- next part --------------
Index: imagehelper.h
===================================================================
RCS file: /cvsroot/kde-cygwin/tools/rebase/imagehelper.h,v
retrieving revision 1.1
diff -u -p -r1.1 imagehelper.h
--- imagehelper.h	2 Jan 2003 17:03:13 -0000	1.1
+++ imagehelper.h	21 Jan 2003 12:31:11 -0000
@@ -23,6 +23,10 @@
 
 #include <windows.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 BOOL ReBaseImage(
   PSTR CurrentImageName,
   PSTR SymbolPath,        // ignored
@@ -89,6 +93,7 @@ DWORD SetImageHelperDebug(
   DWORD level
 );
 
-
-
+#ifdef __cplusplus
+}
+#endif
 #endif
Index: rebaseimage.cc
===================================================================
RCS file: /cvsroot/kde-cygwin/tools/rebase/rebaseimage.cc,v
retrieving revision 1.4
diff -u -p -r1.4 rebaseimage.cc
--- rebaseimage.cc	3 Jan 2003 23:16:05 -0000	1.4
+++ rebaseimage.cc	21 Jan 2003 12:31:11 -0000
@@ -22,6 +22,7 @@
 #include <sstream>
 
 #include "objectfile.h"
+#include "imagehelper.h"
 
 BOOL ReBaseImage(
   PSTR CurrentImageName,


More information about the Cygwin-apps mailing list