| Index: src/trusted/service_runtime/include/sys/time.h
|
| diff --git a/src/trusted/service_runtime/include/sys/time.h b/src/trusted/service_runtime/include/sys/time.h
|
| index 3a77377d1651a12b33c57e5cc51eced24570f543..b16f270a67c8aa43d93900a0d9d9b6c30b62b52d 100644
|
| --- a/src/trusted/service_runtime/include/sys/time.h
|
| +++ b/src/trusted/service_runtime/include/sys/time.h
|
| @@ -11,6 +11,7 @@
|
| #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_TIME_H_
|
| #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_TIME_H_
|
|
|
| +#include "native_client/src/include/build_config.h"
|
| #include "native_client/src/trusted/service_runtime/include/machine/_types.h"
|
|
|
| #ifdef __cplusplus
|
| @@ -31,10 +32,17 @@ typedef int32_t nacl_abi_suseconds_t;
|
| typedef long int nacl_abi_clock_t; /* to be deprecated */
|
| #endif
|
|
|
| +#if NACL_WINDOWS
|
| +__declspec(align(8))
|
| +#endif
|
| struct nacl_abi_timeval {
|
| nacl_abi_time_t nacl_abi_tv_sec;
|
| nacl_abi_suseconds_t nacl_abi_tv_usec;
|
| +#if NACL_WINDOWS
|
| };
|
| +#else
|
| +} __attribute__((aligned(8)));
|
| +#endif
|
|
|
| /* obsolete. should not be used */
|
| struct nacl_abi_timezone {
|
|
|