mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-14 05:12:38 -08:00
Only include unistd.h in non-Windows ports.
This commit is contained in:
parent
8e8204c2af
commit
bff3f5ee3b
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,6 @@
|
|||
#include <ecl/ecl.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#ifdef ENABLE_DLOPEN
|
||||
# ifdef HAVE_DLFCN_H
|
||||
# include <dlfcn.h>
|
||||
|
|
@ -43,6 +42,8 @@
|
|||
# include <winbase.h>
|
||||
# include <tlhelp32.h>
|
||||
# define INIT_PREFIX "init_fas_"
|
||||
# else
|
||||
# include <unistd.h>
|
||||
# endif
|
||||
#endif
|
||||
#include <ecl/ecl-inl.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue