patch-libraries_process_include_runProcess_h 680 B

1234567891011121314151617181920212223242526
  1. $OpenBSD: patch-libraries_process_include_runProcess_h,v 1.3 2014/11/22 20:23:23 kili Exp $
  2. vfork is for terrorists
  3. --- libraries/process/include/runProcess.h.orig Thu Jul 10 06:33:30 2014
  4. +++ libraries/process/include/runProcess.h Sun Nov 2 22:13:50 2014
  5. @@ -25,18 +25,7 @@
  6. #include <fcntl.h>
  7. #endif
  8. -#ifdef HAVE_VFORK_H
  9. -#include <vfork.h>
  10. -#endif
  11. -
  12. -#if defined(HAVE_WORKING_VFORK)
  13. -#define myfork vfork
  14. -#elif defined(HAVE_WORKING_FORK)
  15. #define myfork fork
  16. -// We don't need a fork command on Windows
  17. -#elif !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32))
  18. -#error Cannot find a working fork command
  19. -#endif
  20. #ifdef HAVE_SIGNAL_H
  21. #include <signal.h>