// ctime standard header -*-c++-*-
// Copyright 2009-2017 IAR Systems AB.
#ifndef _CTIME_
#define _CTIME_

#ifndef _SYSTEM_BUILD
  #pragma system_include
#endif

#include <time.h>

namespace std {
  using ::clock_t; using ::size_t;
  using ::time_t; using ::tm;
  using ::asctime; using ::clock; using ::ctime;
  using ::difftime; using ::gmtime; using ::localtime;
  using ::mktime; using ::strftime; using ::time;

  #if !__AEABI_PORTABILITY_INTERNAL_LEVEL
    #if !_DLIB_TIME_USES_64
      using ::__time32_t;
      using ::__ctime32; using ::__difftime32;
      using ::__gmtime32; using ::__localtime32;
      using ::__mktime32; using ::__time32;
    #else
      using ::__time64_t;
      using ::__ctime64; using ::__difftime64;
      using ::__gmtime64; using ::__localtime64;
      using ::__mktime64; using ::__time64;
    #endif
  #endif

  #if !_DLIB_ONLY_C89
    using ::timespec_get;
    #if !_DLIB_TIME_USES_64
      using ::__timespec_get32;
    #else
      using ::__timespec_get64;
    #endif
  #endif

  #if __AEABI_PORTABILITY_INTERNAL_LEVEL
    using ::__aeabi_CLOCKS_PER_SEC;
  #endif

  #if __STDC_WANT_LIB_EXT1__ == 1
    using ::asctime_s; using ::ctime_s;
    using ::errno_t; using ::rsize_t;
    #if !_DLIB_TIME_USES_64
      using ::__ctime_s32; using ::__gmtime_s32;
      using ::__localtime_s32;
    #else
      using ::__ctime_s64; using ::__gmtime_s64;
      using ::__localtime_s64;
    #endif
    using ::gmtime_s; using ::localtime_s;
  #endif
  #define __DATA_PTR_MEM_HELPER1__(M, I) \
    using  ::M##_size_t;
  __DATA_PTR_MEMORY_LIST1__()
  #undef __DATA_PTR_MEM_HELPER1__
} /* namespace std */
#endif /* _CTIME_ */

/*
 * Copyright (c) by P.J. Plauger. All rights reserved.
 * Consult your license regarding permissions and restrictions.
V6.50:0576 */
