diff options
Diffstat (limited to 'absl/time/clock_test.cc')
-rw-r--r-- | absl/time/clock_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/absl/time/clock_test.cc b/absl/time/clock_test.cc index e6f627b3..bc77dbc2 100644 --- a/absl/time/clock_test.cc +++ b/absl/time/clock_test.cc @@ -18,8 +18,10 @@ #if defined(ABSL_HAVE_ALARM) #include <signal.h> #include <unistd.h> -#elif defined(_AIX) +#ifdef _AIX +// sig_t is not defined in AIX. typedef void (*sig_t)(int); +#endif #elif defined(__linux__) || defined(__APPLE__) #error all known Linux and Apple targets have alarm #endif |