openlava/openlava — pull request #41 by nattoheaven (2012-10-02 12:17:03+00:00)
Title: Modification for Cygwin

Modification for Cygwin:
1. At Cygwin, to nice -40 (NICE_LEAST) makes processes realtime and causes Windows frozen. So I defined NICE_LEAST -19 for the Cygwin environments.
2. At Cygwin, the namespaces of DLL libraries are different from an EXE file. To extern the global variables of getopt does not work because of this problem of namespaces. So I wrote branches not to extern these variables for the Cygwin environments.