Ignore:
Timestamp:
2011-03-09T15:39:08+13:00 (13 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.