message: Fix nanosleep.
diff: @@ -42,8 +42,10 @@ static PHP_METHOD(swoole_runtime, enableStrictMode);
  static PHP_METHOD(swoole_runtime, enableCoroutine);
  static PHP_FUNCTION(_sleep);
  static PHP_FUNCTION(_usleep);
  +#if HAVE_NANOSLEEP
  static PHP_FUNCTION(_time_nanosleep);
  static PHP_FUNCTION(_time_sleep_until);
  +#endif
  }
  static int socket_set_option(php_stream *stream, int option, int value, void *ptrparam);
  @@ -100,8 +102,10 @@ static php_stream_ops ori_php_stream_stdio_ops;
  static zend_function *ori_sleep;
  static zend_function *ori_usleep;
  +#if HAVE_NANOSLEEP
  static zend_function *ori_time_nanosleep;
  static zend_function *ori_time_sleep_until;
  +#endif
  extern "C"
  {
  @@ -844,8 +848,10 @@ static PHP_METHOD(swoole_runtime, enableCoroutine)
  ori_sleep->internal_function.handler = PHP_FN(_sleep);
  ori_usleep->internal_function.handler = PHP_FN(_usleep);
  +#if HAVE_NANOSLEEP
  ori_time_nanosleep->internal_function.handler = PHP_FN(_time_nanosleep);
  ori_time_sleep_until->internal_function.handler = PHP_FN(_time_sleep_until);
  +#endif
  }
  if (flags & SW_HOOK_TCP)
  {
  