Added support for build without ADL/NVML/NVAPI (issue #120)

Added support for build OSX native binaries (issue #63)
This commit is contained in:
Gabriele 'matrix' Gristina
2016-01-20 20:55:09 +01:00
parent c3bb94f5d0
commit 5da79e4411
13 changed files with 456 additions and 108 deletions
+4
View File
@@ -6,6 +6,8 @@
#ifndef EXT_NVAPI_H
#define EXT_NVAPI_H
#if defined(HAVE_HWMON) && defined(HAVE_NVAPI)
#include <common.h>
// Just annotations (they do nothing special)
@@ -61,4 +63,6 @@ int hc_NvAPI_GPU_GetThermalSettings (NvPhysicalGpuHandle hPhysicalGpu, NvU32 sen
int hc_NvAPI_GPU_GetTachReading (NvPhysicalGpuHandle hPhysicalGPU, NvU32 *pValue);
int hc_NvAPI_GPU_GetDynamicPstatesInfoEx (NvPhysicalGpuHandle hPhysicalGpu, NV_GPU_DYNAMIC_PSTATES_INFO_EX *pDynamicPstatesInfoEx);
#endif // HAVE_HWMON && HAVE_NVAPI
#endif