Skip to content

Commit

Permalink
MSVC compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
pegasus.cadence@gmail.com committed Nov 8, 2024
1 parent 054a363 commit d616ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/include/cstdtype_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void printCompilerInfo() {
#endif
#endif

#ifndef COMPILER_HAS_STD_FLOAT
#if !defined( COMPILER_HAS_STD_FLOAT ) || defined (COMPILER_HAS_NO_STD_FLOAT)
namespace std {
using float16_t = std::uint16_t; // 16 bit float need half_float or Eigen support
using float32_t = float;
Expand Down

0 comments on commit d616ab0

Please sign in to comment.