Skip to content

Commit

Permalink
move cstdlib inclusion under __SPIR__
Browse files Browse the repository at this point in the history
Signed-off-by: gejin <ge.jin@intel.com>
  • Loading branch information
jinge90 committed Mar 4, 2021
1 parent 54717e3 commit 375416d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libdevice/device_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#define __LIBDEVICE_DEVICE_MATH_H__

#include "device.h"
#include <cstdlib>
#ifdef __SPIR__
#include <cstdlib>

DEVICE_EXTERN_C
div_t __devicelib_div(int x, int y);
Expand Down

0 comments on commit 375416d

Please sign in to comment.