mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Revert "Include stddef.h before including cxxabi.h" to un-break buildbot
This reverts commit r220665. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220667 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
baa8acd546
commit
e975522566
3 files changed
+366
-24
No files matched your search
@@ -42,6 +42,7 @@ function(check_type_exists type files variable)
|
||||
endfunction()
|
||||
|
||||
# include checks
|
||||
check_include_file_cxx(cxxabi.h HAVE_CXXABI_H)
|
||||
check_include_file(dirent.h HAVE_DIRENT_H)
|
||||
check_include_file(dlfcn.h HAVE_DLFCN_H)
|
||||
check_include_file(errno.h HAVE_ERRNO_H)
|
||||
@@ -80,12 +81,6 @@ check_symbol_exists(FE_INEXACT "fenv.h" HAVE_DECL_FE_INEXACT)
|
||||
check_include_file(mach/mach.h HAVE_MACH_MACH_H)
|
||||
check_include_file(mach-o/dyld.h HAVE_MACH_O_DYLD_H)
|
||||
|
||||
# size_t must be defined before including cxxabi.h on FreeBSD 10.0.
|
||||
check_cxx_source_compiles("
|
||||
#include <stddef.h>
|
||||
#include <cxxabi.h>
|
||||
" HAVE_CXXABI_H)
|
||||
|
||||
# library checks
|
||||
if( NOT PURE_WINDOWS )
|
||||
check_library_exists(pthread pthread_create "" HAVE_LIBPTHREAD)
|
||||
|
||||
Reference in new issue
Block a user