progminer zano miner fork https://github.com/hyle-team/progminer
This commit is contained in:
20
zano/libhwmon/wraphelper.h
Normal file
20
zano/libhwmon/wraphelper.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Wrappers to emulate dlopen() on other systems like Windows
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Log.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h>
|
||||
void* wrap_dlopen(const char* filename);
|
||||
void* wrap_dlsym(void* h, const char* sym);
|
||||
int wrap_dlclose(void* h);
|
||||
#else
|
||||
/* assume we can use dlopen itself... */
|
||||
#include <dlfcn.h>
|
||||
void* wrap_dlopen(const char* filename);
|
||||
void* wrap_dlsym(void* h, const char* sym);
|
||||
int wrap_dlclose(void* h);
|
||||
#endif
|
Reference in New Issue
Block a user