client: Fix build break on Windows.

This commit is contained in:
Rom Walton 2014-04-28 14:48:21 -04:00
parent 10a431eb2c
commit af4a5acc2e
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,8 @@ using std::string;
static void get_available_nvidia_ram(COPROC_NVIDIA &cc, vector<string>& warnings);
#ifndef _WIN32
static int nvidia_driver_version() {
int (*nvml_init)() = NULL;
int (*nvml_finish)() = NULL;
@ -73,6 +75,8 @@ end:
return dri_ver;
}
#endif
// return 1/-1/0 if device 1 is more/less/same capable than device 2.
// factors (decreasing priority):
// - compute capability