Fixes compatibility with IBM z/OS. By Rainer Klaffenboeck.
This commit is contained in:
parent
04f025dd57
commit
0fb58d70eb
@ -61,11 +61,13 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#elif defined(GTEST_OS_SYMBIAN)
|
#elif defined(GTEST_OS_SYMBIAN)
|
||||||
// No autoconf on Symbian
|
|
||||||
#define GTEST_HAS_GETTIMEOFDAY
|
#define GTEST_HAS_GETTIMEOFDAY
|
||||||
#include <sys/time.h> // NOLINT
|
#include <sys/time.h> // NOLINT
|
||||||
|
|
||||||
#elif defined(GTEST_OS_ZOS)
|
#elif defined(GTEST_OS_ZOS)
|
||||||
|
#define GTEST_HAS_GETTIMEOFDAY
|
||||||
|
#include <sys/time.h> // NOLINT
|
||||||
|
|
||||||
// On z/OS we additionally need strings.h for strcasecmp.
|
// On z/OS we additionally need strings.h for strcasecmp.
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user