Fix windows build issues in cube.c and device_limits.cpp
2 files changed