Commit 0fb58d70 by shiqian

Fixes compatibility with IBM z/OS. By Rainer Klaffenboeck.

parent 04f025dd
...@@ -61,11 +61,13 @@ ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment