Skip to content

Commit

Permalink
CMSIS/NN tweak for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
petertorelli committed Oct 27, 2022
1 parent 10863eb commit bfe2a48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libraries/NN/Include/arm_nn_math_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ typedef int64_t q63_t;
#ifndef __ALIGNED
#define __ALIGNED(x) __declspec(align(x))
#endif
//ptorelli--start
#ifndef __RESTRICT
#define __RESTRICT __restrict
#endif
//ptorelli--end

//ptorelli--start
#elif defined ( __APPLE_CC__ ) || defined ( __GNUC__ )
Expand Down

0 comments on commit bfe2a48

Please sign in to comment.