forked from enlightenment/efl
Eina: Compilation on cygwin
Patch by Yaakov Selkowitz, thanks :) SVN revision: 78953
This commit is contained in:
parent
c163de7b32
commit
db5c257d1a
|
@ -24,7 +24,7 @@
|
||||||
# ifdef _WIN32
|
# ifdef _WIN32
|
||||||
# define WIN32_LEAN_AND_MEAN
|
# define WIN32_LEAN_AND_MEAN
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# elif defined (__sun) || defined(__GNU__)
|
# elif defined (__sun) || defined(__GNU__) || defined(__CYGWIN__)
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# elif defined (__FreeBSD__) || defined (__OpenBSD__) || \
|
# elif defined (__FreeBSD__) || defined (__OpenBSD__) || \
|
||||||
defined (__NetBSD__) || defined (__DragonFly__) || defined (__MacOSX__) || \
|
defined (__NetBSD__) || defined (__DragonFly__) || defined (__MacOSX__) || \
|
||||||
|
@ -144,7 +144,7 @@ _eina_cpu_count_internal(void)
|
||||||
GetSystemInfo(&sysinfo);
|
GetSystemInfo(&sysinfo);
|
||||||
return sysinfo.dwNumberOfProcessors;
|
return sysinfo.dwNumberOfProcessors;
|
||||||
|
|
||||||
# elif defined (__sun) || defined(__GNU__)
|
# elif defined (__sun) || defined(__GNU__) || defined(__CYGWIN__)
|
||||||
/*
|
/*
|
||||||
* _SC_NPROCESSORS_ONLN: number of processors that are online, that
|
* _SC_NPROCESSORS_ONLN: number of processors that are online, that
|
||||||
is available when sysconf is called. The number
|
is available when sysconf is called. The number
|
||||||
|
|
Loading…
Reference in New Issue