1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Portability to old compilers (such as MSVC).

This commit is contained in:
Bruno Haible
2003-03-30 14:32:27 +00:00
parent e66e3563dd
commit d51ed07a80
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
2002-12-10 Bruno Haible <bruno@clisp.org>
* src/search.cc (for): Define so as to avoid errors with old compilers.
* src/options.h (SHAREDLIB): New enum value.
* src/options.cc (Options::short_usage): Mention option -P.
(Options::long_usage): Document option -P.

View File

@@ -31,6 +31,8 @@
#include <limits.h> /* defines INT_MIN, INT_MAX, UINT_MAX */
#include "options.h"
#include "hash-table.h"
/* Assume ISO C++ 'for' scoping rule. */
#define for if (0) ; else for
/* The most general form of the hash function is