X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fimports.h;h=042147fd8bba07bb441e384cd000c2a0cb9ddc57;hb=555f67c3d717a52464b517cd6d9874468ab3bd92;hp=d61279ac4e5a8f5a2e99e5e13274b9d4cf30c42a;hpb=594fc0f85953d11c455e7ab549308a773b312d70;p=mesa.git diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index d61279ac4e5..042147fd8bb 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -396,13 +396,6 @@ _mesa_flsll(uint64_t n) #endif } - -extern GLhalfARB -_mesa_float_to_half(float f); - -extern float -_mesa_half_to_float(GLhalfARB h); - static inline bool _mesa_half_is_negative(GLhalfARB h) { @@ -423,6 +416,9 @@ _mesa_vsnprintf(char *str, size_t size, const char *fmt, va_list arg); #define snprintf _snprintf #endif +#if defined(_WIN32) && !defined(strtok_r) +#define strtok_r strtok_s +#endif #ifdef __cplusplus }