Replace all #ifdef with #if defined (...) for convention
This commit is contained in:
+1
-1
@@ -189,7 +189,7 @@ typedef nvmlReturn_t (*NVML_API_CALL NVML_DEVICE_GET_POWERMANAGEMENTLIMITCONSTRA
|
||||
typedef nvmlReturn_t (*NVML_API_CALL NVML_DEVICE_SET_POWERMANAGEMENTLIMIT) (nvmlDevice_t, unsigned int);
|
||||
typedef nvmlReturn_t (*NVML_API_CALL NVML_DEVICE_GET_POWERMANAGEMENTLIMIT) (nvmlDevice_t, unsigned int *);
|
||||
|
||||
#ifdef _POSIX
|
||||
#if defined (_POSIX)
|
||||
typedef void *NVML_LIB;
|
||||
#else
|
||||
typedef HINSTANCE NVML_LIB;
|
||||
|
||||
Reference in New Issue
Block a user