mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
cgen: remove the special plan9 support code, treat it instead as a posix system in cheaders.v (#19445)
This commit is contained in:
parent
245f8e39f1
commit
8b31eab88d
1 changed files with 1 additions and 6 deletions
|
@ -553,16 +553,11 @@ voidptr memdup(voidptr src, int sz);
|
|||
#error Cygwin is not supported, please use MinGW or Visual Studio.
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__vinix__) || defined(__serenity__) || defined(__sun)
|
||||
#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__vinix__) || defined(__serenity__) || defined(__sun) || defined(__plan9__)
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h> // os__wait uses wait on nix
|
||||
#endif
|
||||
|
||||
#if defined(__plan9__)
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#endif
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
#include <sys/types.h>
|
||||
#include <sys/resource.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue