mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-17 04:08:34 +00:00
Fix clang warning on OSX
This commit is contained in:
parent
b21bc12157
commit
dff72bbfb3
@ -26,10 +26,12 @@
|
|||||||
#include "dynloader.h"
|
#include "dynloader.h"
|
||||||
#include "opencl.h"
|
#include "opencl.h"
|
||||||
|
|
||||||
|
#if defined (__linux__)
|
||||||
static const char dri_card0_path[] = "/dev/dri/card0";
|
static const char dri_card0_path[] = "/dev/dri/card0";
|
||||||
|
|
||||||
static const char drm_card0_vendor_path[] = "/sys/class/drm/card0/device/vendor";
|
static const char drm_card0_vendor_path[] = "/sys/class/drm/card0/device/vendor";
|
||||||
static const char drm_card0_driver_path[] = "/sys/class/drm/card0/device/driver";
|
static const char drm_card0_driver_path[] = "/sys/class/drm/card0/device/driver";
|
||||||
|
#endif
|
||||||
|
|
||||||
static const u32 full01 = 0x01010101;
|
static const u32 full01 = 0x01010101;
|
||||||
static const u32 full80 = 0x80808080;
|
static const u32 full80 = 0x80808080;
|
||||||
|
Loading…
Reference in New Issue
Block a user