1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-16 17:42:04 +00:00

DECLSPEC for CPU

This commit is contained in:
jsteube 2018-02-08 09:42:59 +01:00
parent 3dcacb5f55
commit 786384664e

View File

@ -81,11 +81,16 @@
* function declarations can have a large influence depending on the opencl runtime
*/
#ifdef IS_NV
#define DECLSPEC
#else
#ifdef IS_CPU
#define DECLSPEC static
#elif IS_GPU
#ifdef IS_AMD
#define DECLSPEC inline
#else
#define DECLSPEC
#endif
#else
#define DECLSPEC
#endif
/**