mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fix: Can be compiled on MSVS 2013 (12.0.40629.00 update 5), but not on MSVS 2013 (12.0.21005.1)
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
#ifndef CUDA_H
|
||||
#define CUDA_H
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
#define inline __inline
|
||||
#endif
|
||||
|
||||
extern int gpu_index;
|
||||
|
||||
#ifdef GPU
|
||||
|
Reference in New Issue
Block a user