Skip to content

Commit 375416d

Browse files
committed
move cstdlib inclusion under __SPIR__
Signed-off-by: gejin <[email protected]>
1 parent 54717e3 commit 375416d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libdevice/device_math.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#define __LIBDEVICE_DEVICE_MATH_H__
1111

1212
#include "device.h"
13-
#include <cstdlib>
1413
#ifdef __SPIR__
14+
#include <cstdlib>
1515

1616
DEVICE_EXTERN_C
1717
div_t __devicelib_div(int x, int y);

0 commit comments

Comments
 (0)