Changeset 23770

Show
Ignore:
Timestamp:
09.03.2011 15:39:08 (8 years ago)
Author:
davidb
Message:

For Windows explicitly set HAVE_RENAME to 1. When compiling on Windows 7 64-bit we found that not only was HAVE_RENAME not defined, but 'link' was deprecated for Windows, and 'rename' should be used instead. The result of all this was the Greenstone 3 was not able to compile GDBM. GDBM provides a fallback routine for 'rename' when HAVE_RENAME is not defined. The trouble is uses the deprecated 'link' to provide this fallback. This change explicitly sets HAVE_RENAME to 1 for Windows only. Our reading of MSDN is that 'rename' has been around in the Visual Studio compiler since 2003 if not from before.

Files:
1 modified

Legend:

Unmodified
Added
Removed