Browse Source

Disable vxWorks-specific includes
bee88d907230451bacc8c0aa4fa5ecc8f9cba59c

thegeorg 1 year ago
parent
commit
84fd3fbde0
1 changed files with 3 additions and 3 deletions
  1. 3 3
      contrib/tools/python3/src/Modules/posixmodule.c

+ 3 - 3
contrib/tools/python3/src/Modules/posixmodule.c

@@ -382,10 +382,10 @@ extern char        *ctermid_r(char *);
 #endif /* !_MSC_VER */
 #endif /* !_MSC_VER */
 
 
 #if defined(__VXWORKS__)
 #if defined(__VXWORKS__)
-#  include <vxCpuLib.h>
-#  include <rtpLib.h>
+#  error #include <vxCpuLib.h>
+#  error #include <rtpLib.h>
 #  include <wait.h>
 #  include <wait.h>
-#  include <taskLib.h>
+#  error #include <taskLib.h>
 #  ifndef _P_WAIT
 #  ifndef _P_WAIT
 #    define _P_WAIT          0
 #    define _P_WAIT          0
 #    define _P_NOWAIT        1
 #    define _P_NOWAIT        1