diff --git a/src/server/slave.c b/src/server/slave.c --- a/src/server/slave.c +++ b/src/server/slave.c @@ -130,8 +130,11 @@ char *pathtoOutput; // Full path to the char *outputExt; // Output Extension (e.g., JPG) int threads = sysconf(_SC_NPROCESSORS_ONLN); // Equals the number of currently online processors +// FOR Win32: int threads = sysinfo.dwNumberOfProcessors; + struct distrenjob *myjob; // Structure to hold data gathered from the XML file + // If the slave is getting job info... if(gotframe ==1) {