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