Skip to content

Commit f87f19b

Browse files
committed
Get cxx03 headers working on z/OS
1 parent 214fb43 commit f87f19b

File tree

9 files changed

+3
-276
lines changed

9 files changed

+3
-276
lines changed

libcxx/include/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,6 @@ set(files
732732
__string/char_traits.h
733733
__string/constexpr_c_functions.h
734734
__string/extern_template_lists.h
735-
__support/ibm/gettod_zos.h
736735
__support/ibm/locale_mgmt_zos.h
737736
__support/ibm/nanosleep.h
738737
__support/xlocale/__nop_locale_mgmt.h
@@ -1562,7 +1561,6 @@ set(files
15621561
__cxx03/__locale_dir/locale_base_api/bsd_locale_defaults.h
15631562
__cxx03/__locale_dir/locale_base_api/bsd_locale_fallbacks.h
15641563
__cxx03/__locale_dir/locale_base_api/fuchsia.h
1565-
__cxx03/__locale_dir/locale_base_api/ibm.h
15661564
__cxx03/__locale_dir/locale_base_api/locale_guard.h
15671565
__cxx03/__locale_dir/locale_base_api/musl.h
15681566
__cxx03/__locale_dir/locale_base_api/newlib.h
@@ -1765,9 +1763,6 @@ set(files
17651763
__cxx03/__string/char_traits.h
17661764
__cxx03/__string/constexpr_c_functions.h
17671765
__cxx03/__string/extern_template_lists.h
1768-
__cxx03/__support/ibm/gettod_zos.h
1769-
__cxx03/__support/ibm/locale_mgmt_zos.h
1770-
__cxx03/__support/ibm/nanosleep.h
17711766
__cxx03/__support/xlocale/__nop_locale_mgmt.h
17721767
__cxx03/__support/xlocale/__posix_l_fallback.h
17731768
__cxx03/__support/xlocale/__strtonum_fallback.h

libcxx/include/__cxx03/__locale_dir/locale_base_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#if defined(_LIBCPP_MSVCRT_LIKE)
1313
# include <__cxx03/__locale_dir/locale_base_api/win32.h>
1414
#elif defined(_AIX) || defined(__MVS__)
15-
# include <__cxx03/__locale_dir/locale_base_api/ibm.h>
15+
# include <__locale_dir/locale_base_api/ibm.h>
1616
#elif defined(__ANDROID__)
1717
# include <__cxx03/__locale_dir/locale_base_api/android.h>
1818
#elif defined(__sun__)

libcxx/include/__cxx03/__locale_dir/locale_base_api/ibm.h

Lines changed: 0 additions & 108 deletions
This file was deleted.

libcxx/include/__cxx03/__support/ibm/gettod_zos.h

Lines changed: 0 additions & 52 deletions
This file was deleted.

libcxx/include/__cxx03/__support/ibm/locale_mgmt_zos.h

Lines changed: 0 additions & 53 deletions
This file was deleted.

libcxx/include/__cxx03/__support/ibm/nanosleep.h

Lines changed: 0 additions & 55 deletions
This file was deleted.

libcxx/include/__cxx03/__thread/support/pthread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <sched.h>
2020

2121
#ifdef __MVS__
22-
# include <__cxx03/__support/ibm/nanosleep.h>
22+
# include <__support/ibm/nanosleep.h>
2323
#endif
2424

2525
// Some platforms require <bits/atomic_wide_counter.h> in order for

libcxx/src/chrono.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <chrono>
1818

1919
#if defined(__MVS__)
20-
# include <__support/ibm/gettod_zos.h> // gettimeofdayMonotonic
20+
# include <support/ibm/gettod_zos.h> // gettimeofdayMonotonic
2121
#endif
2222

2323
#include "include/apple_availability.h"
File renamed without changes.

0 commit comments

Comments
 (0)