Skip to content
Snippets Groups Projects
  1. Jun 14, 2020
    • Ahmed Abd El Mawgood's avatar
      Add sys/select.h to sys/types.h · f4d95ce4
      Ahmed Abd El Mawgood authored
      This was triggered by gcc for some reason It included sys/types.h and
      assumed sys/select.h to be there. And that seams to be the case in musl.
      
      The problem with relibc here is that sys/types.h is are part of relibc
      "include/*.h" files, while sys/select.h is generated by cbindgen. That
      makes it impossible to #include select.h in types.h epsecially that
      there are files like fcntl.c that uses types.h. They would complain
      about missing headers. I fixed this by renaming sys/types.h to
      sys/types_internal.h and then generating types.h using cbindgen as well
      except for that. however fcntl and dlmalloc can include types_internal
      instead of types.h
      f4d95ce4
    • Ahmed Abd El Mawgood's avatar
      Make stdbool.h C++ compatiable · a125b8be
      Ahmed Abd El Mawgood authored
      The problem here is that _Bool type is not defined in C++ yet this file
      is using it. That leads to issues when compiling gcc. I borrowed the
      same techniques used in other stdbool.h
      a125b8be
  2. Jun 10, 2020
  3. Jun 07, 2020
  4. Jun 06, 2020
  5. Jun 03, 2020
  6. Jun 02, 2020
  7. Jun 01, 2020
  8. May 28, 2020
  9. May 24, 2020
  10. May 23, 2020
Loading