mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Add configure check to see whether <string.h> and <strings.h> may both be
included, and then include <strings.h> if so. Several systems already needed <strings.h> anyway. Some new systems that claim to conform to the Unix 9x "standard" do not declare str[n]casemp() in string.h, and C99 compilers will not like that.
This commit is contained in:
@ -14,12 +14,6 @@ typedef unsigned char slock_t;
|
||||
|
||||
#define DISABLE_COMPLEX_MACRO
|
||||
|
||||
/***************************************************************
|
||||
* The following include will get the needed prototype for the
|
||||
* strcasecmp() function.
|
||||
***************************************************************/
|
||||
#include <strings.h>
|
||||
|
||||
#ifndef BIG_ENDIAN
|
||||
#define BIG_ENDIAN 4321
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user