blob: 5f328edd1696b41b848d451bca43b3581a70371d [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "nacl_io/ossocket.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
static __thread int __h_errno__;
extern "C" int *__h_errno_location() {
return &__h_errno__;
}
#endif // defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)