forked from enlightenment/efl
efreet: use the correct guard.
This commit is contained in:
parent
db64103bf3
commit
b887558afa
|
@ -5,7 +5,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#ifndef _WIN32
|
||||
#ifndef HAVE_SYS_RESOURCE_H
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
@ -254,7 +254,7 @@ main(int argc, char **argv)
|
|||
}
|
||||
extra_dirs = eina_list_sort(extra_dirs, -1, EINA_COMPARE_CB(strcmp));
|
||||
|
||||
#ifndef _WIN32
|
||||
#ifndef HAVE_SYS_RESOURCE_H
|
||||
setpriority(PRIO_PROCESS, 0, 19);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#ifndef _WIN32
|
||||
#ifndef HAVE_SYS_RESOURCE_H
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
@ -772,7 +772,7 @@ main(int argc, char **argv)
|
|||
flush = EINA_TRUE;
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
#ifndef HAVE_SYS_RESOURCE_H
|
||||
setpriority(PRIO_PROCESS, 0, 19);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifndef _WIN32
|
||||
#ifndef HAVE_SYS_RESOURCE_H
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
@ -52,7 +52,7 @@ main(int argc, char *argv[])
|
|||
if (!dbus_init()) goto dbus_error;
|
||||
if (!cache_init()) goto cache_error;
|
||||
|
||||
#ifndef _WIN32
|
||||
#ifndef HAVE_SYS_RESOURCE_H
|
||||
setpriority(PRIO_PROCESS, 0, 19);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue