mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 21:19:24 +00:00
Portability to old compilers (such as MSVC).
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
2002-12-10 Bruno Haible <bruno@clisp.org>
|
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.h (SHAREDLIB): New enum value.
|
||||||
* src/options.cc (Options::short_usage): Mention option -P.
|
* src/options.cc (Options::short_usage): Mention option -P.
|
||||||
(Options::long_usage): Document option -P.
|
(Options::long_usage): Document option -P.
|
||||||
|
|||||||
@@ -31,6 +31,8 @@
|
|||||||
#include <limits.h> /* defines INT_MIN, INT_MAX, UINT_MAX */
|
#include <limits.h> /* defines INT_MIN, INT_MAX, UINT_MAX */
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include "hash-table.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
|
/* The most general form of the hash function is
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user