diff --git a/include/mxnet/c_api.h b/include/mxnet/c_api.h index bf36787db147..c80d65e9ef6e 100644 --- a/include/mxnet/c_api.h +++ b/include/mxnet/c_api.h @@ -55,11 +55,9 @@ extern "C" { #endif /*! \brief manually define unsigned int */ -typedef uint32_t uint32_t; -/*! \brief manually define 64-bit int */ -typedef int64_t int64_t; +typedef uint32_t mx_uint; /*! \brief manually define float */ -typedef float float; +typedef float mx_float; /*! \brief data type to store dim size */ typedef int64_t dim_t; // all the handles are simply void * diff --git a/include/mxnet/c_predict_api.h b/include/mxnet/c_predict_api.h index 04ab44d59e88..7769664a9783 100644 --- a/include/mxnet/c_predict_api.h +++ b/include/mxnet/c_predict_api.h @@ -42,11 +42,9 @@ extern "C" { #endif /*! \brief manually define unsigned int */ -typedef uint32_t uint32_t; -/*! \brief manually define 64-bit int */ -typedef int64_t int64_t; +typedef uint32_t mx_uint; /*! \brief manually define float */ -typedef float float; +typedef float mx_float; /*! \brief handle to Predictor */ typedef void *PredictorHandle; /*! \brief handle to NDArray list */